I’m building a jQuery slideshow which will feature an HTML5 video player on one of the slides. Is there any way to get the jQuery slideshow to pause from its otherwise automatically running state, when it detects that the video is playing, besides a “slideshow play/pause” button?
Share
You can check if the video is paused used the
pausedproperty:You can pause a video using the
pause()method:You can then resume the playback of the video using the
play()method: