dimsemenov / Magnific-Popup

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

Fix Redirection Issue with YouTube Embeds #1205

Closed Venkatesh-KCET closed 3 months ago

Venkatesh-KCET commented 5 months ago

This pull request addresses a critical issue where URLs with "//" preceding "www.youtube.com" were incorrectly redirecting to "file://," causing disruptions in embedded video playback. The fix involves adding "https://" directly before "www.youtube.com" in the source URLs, ensuring proper redirection and seamless integration of YouTube embeds. By implementing this correction, we aim to enhance user experience and maintain consistent functionality across our platform. This pull request resolves the redirection error, facilitating uninterrupted access to embedded YouTube content