I want to use some videos for demonstration on an ipad in my teaching. It is very short video sequences that I want to "loop" like the way it can be done in Keynote, PowerPoint and iBooks etc. Is it possible to use AVplayer in FM14 for this?
FMGo14 introduced a number of container playback enhancements. You need to use a script trigger on the video container:
Can't remember which off the top of my head, but I believe those will be activated when the video stops, and you can specify for it to go back to the beginning.
You'll need to script a "force stop" button that will override the trigger though, else you could get stuck in an infinite loop of your video.
These may also help you:
Thank you very much for your answer.
I tried to use both script triggers, and they are nicely fired when put on either the file or a object with container filed. But the window with the playing video is closed down and restarted every time the end of the video is reached.
It seems that it's only at the end og the video the script trigger is activated. Can't figure out whether there is a way too activate the trigger during playing of the video ... ?
Any suggestion on how to make a more smooth transition from the end of the video and to the beginning ?
Not really sure, my first thought would be to install a timer script that checks every x number of seconds, and "rewinds" the video, instead of restarting it. The restart action in nature might explain the closing and reopening of the file.
Also take a look at the AVPlayer script steps to see the possible commands for FMGo's media player:
Not sure if there's some magic combination you can use there to specify an option to loop video.
I wonder there is duration attribute (and many others) for audio file but nothing for video in GetContainerAttribute() function...
"AVPlayer Set Options" script step has "Sequence specifies which media file should play next." I don't know what is this mean. Is there any play list feature in container on FMGo?
hemslars, can't you edit the video file themselves as infinite loop?
Retrieving data ...