dimsemenov / Magnific-Popup

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

popup type from iframe to video #1100

Open pws2016 opened 5 years ago

pws2016 commented 5 years ago

Hello, i want change the type from iframe to video, how i can do?

my actual code is:

  |

  |   |
  |   |
  |
  |

تلاوة من سورة النساء - القارئ محمد اللحيدان

  |

محمد اللحيدان

  |

$('.video-popup').magnificPopup({ disableOn: 700, type: 'iframe', mainClass: 'mfp-fade', removalDelay: 160, preloader: false, fixedContentPos: false

});

dawnrmax commented 5 years ago

Hello,

$('.video-popup').magnificPopup({
disableOn: 700,
type: 'iframe',
mainClass: 'mfp-fade',
removalDelay: 160,
preloader: false,
fixedContentPos: false

});

and in your html : <a class="video-popup" href="url video">

image