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
Audio and video keeps playing when you move to the next block if pause or stop is not clicked. I added the following code to (adapt-contrib-blockslider.js) my own version of this extension and it seemed to do the trick:
In the navigateClick: function (event) and navigateTab: function (event) -
//Added to stop all videos and audio on click
$('video,audio').each(function() {
$(this)[0].pause();
});
Not sure if we want to consider this in the extension. This only works for the media component - looking for solution with iframe.
@oliverfoster - not sure the process here - so if you could take a look
The text was updated successfully, but these errors were encountered:
Audio and video keeps playing when you move to the next block if pause or stop is not clicked. I added the following code to (adapt-contrib-blockslider.js) my own version of this extension and it seemed to do the trick:
In the navigateClick: function (event) and navigateTab: function (event) -
//Added to stop all videos and audio on click
$('video,audio').each(function() {
$(this)[0].pause();
});
Not sure if we want to consider this in the extension. This only works for the media component - looking for solution with iframe.
@oliverfoster - not sure the process here - so if you could take a look
The text was updated successfully, but these errors were encountered: