You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using the following script to create an event when the pause button is clicked.
I am using it specifically to add a class to the div that contains the player when the pause button is clicked.
I have made a stripped down version that should show a message in the console saying 'paused the video' but this does not give the expected/ previously working behavior
var iframe = document.querySelector('iframe');
var player = new Vimeo.Player(iframe);
player.on('pause', function() {
console.log('paused the video!');
});
This was working perfectly until 23/04/2019
Actual Behavior
The function does not run and as a result the console does not show 'paused the video!' when the pause button is clicked.
Steps to Reproduce
I have made a Codepen that demonstrates this,
I have also included the play event which works fine and the pause event that doesn't work at all
Expected Behavior
I have been using the following script to create an event when the pause button is clicked.
I am using it specifically to add a class to the div that contains the player when the pause button is clicked.
I have made a stripped down version that should show a message in the console saying 'paused the video' but this does not give the expected/ previously working behavior
This was working perfectly until 23/04/2019
Actual Behavior
The function does not run and as a result the console does not show 'paused the video!' when the pause button is clicked.
Steps to Reproduce
I have made a Codepen that demonstrates this,
I have also included the play event which works fine and the pause event that doesn't work at all
https://codepen.io/meshviz/pen/vMQvjX
The text was updated successfully, but these errors were encountered: