Open vol4ikman opened 10 years ago
Yes i need this also
Can someone please fix this issue or share a resolution?
You need to remove disableOn: 700 to make it work on mobile devices.
This issue still exists, opening a Youtube video in iframe popup, on iphone and android if the Youtube App is installed on the phone it hijacks it and opens it in the app instead of letting magnific popup embed it - is there any way to prevent this?
Open YouTube in popup and not in native app or browser for mobile devices.
For now it's opened in app or browser. How can I disable it?
Code:
jQuery('.open-popup-youtube').magnificPopup({ disableOn: 700, type: 'iframe', mainClass: 'mfp-fade', removalDelay: 160, preloader: false, fixedContentPos: false });