monkeybreadsoftware

Control AVPlayer in FM Pro Mac & iOS SDK with MBS Plugin

Discussion created by monkeybreadsoftware on May 30, 2017

We had the question where we can access the playing video in an interactive container on iOS.

The answer is: Yes, we can!

 

And even on Mac, the same new function AVPlayer.FindPlayers looks for players on the current layout. It returns a list of all the players and you can than use our normal AVPlayer functions. Here a screenshot:

avplayer.jpg

Left side macOS, right side iOS simulator.

 

So we can get the players on current page and there may be several. You can control the player, e.g. pause/play, query time and duration, change rate or volume. Next you can now use AVPlayer.GetAsset to query the asset for the player. There you can query images for videos, metadata and frame rate.

 

Coming soon to version 7.3 of MBS FileMaker Plugin.

Outcomes