to confirm:
you download the zip
open the hypefile
press preview in say chrome
press play button on the video
press number one to switch the scene
and then the video does not stop?
can you have a look in the browserconsole to see if the listener logged paused or if any erro is listed?
I had a javascript guy troubleshoot as I needed to get on top of it.
Its working so Ill document it next week as soon as Ive got over this immediate problem of my courses not working
This is what Im using and it works
I used Jonathans script (above)
I embed the Vimeo like this
iframe src="https://player.vimeo.com/video/123456789?api=1" width="990" height="460"></iframe
i would not like to rely on software that is depreciated for about 4 or five years. vimeo itsself does not promote froogallop in anyway. the links above explain the new libraries API... but i'm no expert regarding the vimeostuff ...
Can anyone post a best practice sample on how to pause a vimeo stream?
I just got this from Vimeo today...
the Froogaloop library for the Vimeo Player has been deprecated and is no longer being supported. We recommend developers switch to the new Player.JS library instead. More information about the library can be found here:
I've attached a basic example. The ways it is constructed are:
This player API script has been imported in the Head HTML
Rectangle elements are made and vimeo's iframe code is placed inside of there
There's a button that runs a function which looks at all iframes on the page, finds which ones are vimeo videos (by seeing if the src references vimeo), and then uses the API for each to call pause.