dimsemenov / Magnific-Popup

Light and responsive lightbox script with focus on performance.
http://dimsemenov.com/plugins/magnific-popup/
MIT License
11.38k stars 3.49k forks source link

How can I open a video HTML5 (.mp4, .m4v, .webm and .ogv), in Magnific-Popup? #832

Open maurian opened 8 years ago

maurian commented 8 years ago

Hello,

I'm Brazilian and my English is weak.

How can I open a video HTML5 (.mp4, .m4v, .webm and .ogv), in Magnific-Popup?

By tests that I made the code below works well in Firefox and partial way in Opera and Chrome. In Internet Explorer, Microsoft Edge and Safari the window does not work.

<a class="popup-vimeo" href="video/Big_Buck_Bunny_1.mp4" data-mfp-src="video/images/Big_Buck_Bunny_1.webm" style="color:#FB0307;">Vídeo HTML5</a>

Someone can help me?

soydemadrid commented 7 years ago

Hi I have the same issue. I've embedded a video with the standard Video instructions for youtube/vimeo like the website suggests - but my problem is the video keeps stopping as it doesn't cache or buffer before playing. I don't know if the html5

sunstarjeff commented 5 years ago

All roads led me here, and the solution worked. https://github.com/dimsemenov/Magnific-Popup/issues/626