Hi! Thanks for the lib!
I am using this inside a chrome extension. And the final iframe that the ModalVideo component produces looks like this:
"//www.youtube.com/embed/P37IDOQ8jkI?autoplay=1&cc_load_policy=1&controls=1&disablekb=0&enablejsapi=0&fs=1&iv_load_policy=1&loop=0&rel=0&showinfo=1&start=0&wmode=transparent&theme=dark"
I had to manually add 'https:' here https://github.com/appleple/react-modal-video/blob/f4878a00e03e94baad0b28c622a1868de5bffb2b/src/index.jsx#L76 to make it work.
Hi! Thanks for the lib! I am using this inside a chrome extension. And the final iframe that the
ModalVideo
component produces looks like this:"//www.youtube.com/embed/P37IDOQ8jkI?autoplay=1&cc_load_policy=1&controls=1&disablekb=0&enablejsapi=0&fs=1&iv_load_policy=1&loop=0&rel=0&showinfo=1&start=0&wmode=transparent&theme=dark"
I had to manually add'https:'
here https://github.com/appleple/react-modal-video/blob/f4878a00e03e94baad0b28c622a1868de5bffb2b/src/index.jsx#L76 to make it work.