Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Set an HTML5 Video to PAUSE when video player is out of view Re: Set an HTML5 Video to PAUSE when video player is out of view

#97256
bungle
Member

Yeah, that’s why I was having you apply the video slide class, so that you can then target the video element using query with


slide.children('.videoslide')

I may have made the mistaken assumption that this was using jquery, if not then load jquery and target the video element by as a child of the slide element rather than by ID.