-
WarMooseMarch 18, 2014 at 5:16 pm #31008
When using firefox with am embeded video in a slide, it does not display video but only audio. Internet Explorer (ew) and Chrome both work fine though. It is not the code itself because I tested it with jsfiddle using firefox and it worked there.
html:
<img id=”pic-video”” img src=”imgurl” data-video=”http://www.youtube.com/embed/5zvJl0YpWaM?rel=0&controls=0&showinfo=0;autoplay=1″>js:
(function($) {
$(‘img[id^=”pic-video”]’).click(function(){
video = ‘<iframe width=”483″ height=”272″ src=”‘+ $(this).attr(‘data-video’) +'”></iframe>’;
$(this).replaceWith(video);
});
})(jQuery);RESOLVED
-
Please use the search before making a post. Your question maybe be already answered!
-
Do you need customization work? Are you having trouble installing Wordpress? Feeling lazy and want somebody else to do the hard work for you?
Join our discord!
Need hosting?
Follow us!