Quantcast
Channel: Dynamically loading and autoplaying HTML5 video - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article


Dynamically 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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>