Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
AVRecorder.AddPreviewToWindow
Adds a preview area to the window.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVRecorder | 6.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "AVRecorder.AddPreviewToWindow"; AVSession; WindowRef; X; Y; W; H ) More
Parameters
Parameter | Description | Example |
---|---|---|
AVSession | The ID for the AVRecorder session as returned by AVRecorder.Init. | $AVSession |
WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 |
X | The x coordinate. | 20 |
Y | The y coordinate | 200 |
W | The width of the preview area. | 320 |
H | The height of the preview area. | 200 |
Result
Returns OK or error.
Description
Adds a preview area to the window.Examples
Start preview:
Set Variable [$r; Value:MBS("AVRecorder.AddPreviewToWindow"; $Session; Get(WindowName); 50; 200; 320; 240)]
Set Variable [$r; Value:MBS("AVRecorder.StartPreview"; $Session)]
See also
Release notes
- Version 11.2
- Fixed problem on Windows with AVRecorder.AddPreviewWithControl and AVRecorder.AddPreviewToWindow not using the FileMaker window, but a separate one.
- Version 10.5
- Fixed crash with AVRecorder.StartPreview, AVRecorder.AddPreviewWithControl and AVRecorder.AddPreviewToWindow if you call those twice.
- Version 10.3
- Rewrote parts of AVRecorder.AddPreviewToWindow and WebView.Create for Mac/iOS to work better. Positioning is now relative to top/left of FileMaker content.
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 11.2pr7
- MBS FileMaker Plugin, version 10.5pr6
- AVRecorder on iOS
- MBS FileMaker Plugin, version 10.3pr2
- Audio and Video Recording for FileMaker
This function checks for a license.
Created 18th February 2016, last changed 4th August 2020