Inserting code into a page just shows raw HTML

admin2025-01-07  4

I'm trying to insert a youtube playlist into a page using the following code

<iframe width="853" heigh![t="480" src="=<ID-REMOVED>&amp;hl=en_US" frameborder="0" allowfullscreen></iframe][1]>

for some reason, even when the ID is there, it comes out like this

Sorry about the text, it's by the client. Never really worked with wordpress before. I don't see a place to insert code or anything. Wat do?

I'm trying to insert a youtube playlist into a page using the following code

<iframe width="853" heigh![t="480" src="http://www.youtube.com/embed/videoseries?list=<ID-REMOVED>&amp;hl=en_US" frameborder="0" allowfullscreen></iframe][1]>

for some reason, even when the ID is there, it comes out like this

Sorry about the text, it's by the client. Never really worked with wordpress before. I don't see a place to insert code or anything. Wat do?

Share Improve this question asked May 24, 2015 at 19:49 Preston ShumwayPreston Shumway 11 bronze badge 1
  • well, the picture didn't post, here's an imgur link i.imgur.com/WLW7vkd.png – Preston Shumway Commented May 24, 2015 at 20:01
Add a comment  | 

3 Answers 3

Reset to default 1

You are placing the HTML as visual whereas you should input under the Text field

I think this answers your question, the WordPress automatic paragraph input is messing up the raw html

Placing google maps into a wordpress page using the wordpress page editor

If you are trying to embed a youTube video you can just paste the link directly in the editor. For example, pasting http://www.youtube.com/watch?v=dQw4w9WgXcQ in the editor will automatically embed the video on the page.

Here is more info on embeds.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736256750a386.html

最新回复(0)