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
February 22, 2012 at 6:35 pm
#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.