Klooven
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Shortcode problemsHello.
I actually fixed this by changing the code.
I had to “wrap” the iframe in a
<p></p>, and then i removed thetype="text/html"attribute from the iframe. It fixed my problem!I’ve updated the Gist if someone is interested of that.
Thanks for the tips!
Forum: Developing with WordPress
In reply to: Shortcode problemsHello.
Sorry for the late answer.
Here’s the code.
https://gist.github.com/Klooven/e1f32dba4bcae942e8bb21f54f371fdd
The plugin returns the code as you said, so I don’t know what the problem is…
Forum: Themes and Templates
In reply to: [Cubic] Custom YouTube embed makes page whiteOk, thanks for the help!
Have a good day.
Forum: Themes and Templates
In reply to: [Cubic] Custom YouTube embed makes page whiteHello.
I tried to copy the code from your last post straight to the editor. It worked, the video was moved to the master header.
When I generate the player using the shortcode:
[navid id="VIDEOID"]It generates:
<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></iframe>But for some reason the video doesn’t go to the master header.
Seems that the shortcode does something, so that the JavaScript that should move it to the master header doesn’t work.
Do you know any possible solution to this?
- This reply was modified 9 years ago by Klooven.
Forum: Themes and Templates
In reply to: [Cubic] Custom YouTube embed makes page whiteOh, that was an easy fix!
Thanks.
Do you know how I can make this appear in the master header when the post format is “Video”, like it happens when a normal YouTube video (just pasting the video adress in the editor) is embedded?