↧
Answer by apires for Dynamically loading and autoplaying HTML5 video
Use .play()after adding it's src.jQuery(document).ready(function($) {"use strict"; $("video").each(function() { var $source = $(this).find('source'); var src = $source.attr('data-src');...
View ArticleDynamically loading and autoplaying HTML5 video
I am trying to grab a video URL from data-src and add it to src for my video. I have that much working when I snoop the page code but the video isn't showing up on the page and playing. I'm using...
View Article