-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
Description
I like the function from Magnific Popup that the button acts as a link instead of a modal toggle when open/resize page to a small screen. Ideally, on mobile devices, when users click the video link, I'd prefer them to open and see it in their YouTube app, instead of a small popup on the page. I'm thinking either
- tweak the plugin function to detect screen size, and make the link acts differently. OR
- add my own function to listen to resize event, and destroy/re-add the ModalVideo when screen reach a brekapoint.
I'm leaning towards the latter for now, and wonder if there's a way to destroy ModalVideo instances in the current plugin?
Thanks.
pu6elozed