You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
I'm leaning towards the latter for now, and wonder if there's a way to destroy ModalVideo instances in the current plugin?
Thanks.
The text was updated successfully, but these errors were encountered: