Can not get a video to play in the magnific pop up window.
When I use class=iframe
, the page will redirect to youtube and play the video.
But when I use
Something I found with "v" argument, I see patterns in core file "jquery.magnific-popup.js"
patterns: {
youtube: {
index: 'youtube.com',
id: 'v=',
src: '//www.youtube.com/embed/%id%?autoplay=1'
}
}
Frontend link:
youtube link
I gave link to A tag "https" url but not work.
youtube link
I see valid url "v" argument with video code "YQHsXMglC9A" and it's works :)
so we just need to change "v" argument value.