« MBS Filemaker Plugin,… | Home | Meeting & Conference … »

Tip of the day: Play video in interactive container

For normal containers, we already have MovieView functions. With those functions you can for example play movies inside the container.
But with an interactive containers, Filemaker 12 actually uses a web view. There our MovieView functions will not work. But the Webviewer functions work.

MBS( "WebView.RunJavaScript" ; "movie"; "document.getElementsByTagName('video')[0].play();" )

This line will play the video. The container field on the layout must be named "movie" and we simply play the first video there. Of course you can also use other javascript video functions. like calling pause() function or querying duration or currentTime properties. Claris FileMaker Plugin
31 07 13 - 16:39