Custom YouTube embed makes page white
-
Hello.
I’ve created a shortcode for embedding YouTube videos in a slightly modified player from the normal YouTube embed player included in WordPress.
It outputs this code:
<iframe id="navid-player" type="text/html" width="720" height="405" src="https://www.youtube.com/embed/VIDEOID?disablekb=1&rel=0&showinfo=0&color=white" frameborder="0" allowfullscreen>
For some reason it messes up everything when use it. Everything in the page is white, except the page title in the top.
I’ve tried the shortcode in other themes (like Twenty Sixteen), and it works perfectly in those themes.
What could the problem be? Could it be fixed?
Thanks for any help! ??
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Custom YouTube embed makes page white’ is closed to new replies.