Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

This question already has an answer here:

I just found out that editors are not allows to post iframes (e.g. YouTube videos). Is it possible to allow it somehow? I use WP Multisite.

share|improve this question

marked as duplicate by toscho May 27 '13 at 17:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 1 down vote accepted

try the iframe shortcode plugin

http://wordpress.org/extend/plugins/iframe/

Embed iframe using shortcode [iframe src="http://player.vimeo.com/video/819138" width="100%" height="480"]

ps: you can also use the default oembed shortcode:

[embed width="123" height="456"]...[/embed]

it supports YouTube, Vimeo, DailyMotion, Flickr, Twitter, ... and more.

Example:

[embed width="600" height="456"]http://www.youtube.com/watch?v=nTDNLUzjkpg[/embed]

Screenshot:

See more here:

http://codex.wordpress.org/Embeds

share|improve this answer
    
I don’t know why but the [embed] code doesn’t work … –  user1706680 Feb 7 '13 at 14:12
    
whats the code you use? –  birgire Feb 7 '13 at 14:17
    
what about e.g. [embed width="600" height="456"]youtube.com/watch?v=nTDNLUzjkpg[/embed] –  birgire Feb 7 '13 at 14:24
    
Ah, my fault, I had a wrong YouTube link … Thanks! –  user1706680 Feb 7 '13 at 14:28
    
ok great, hopefully this answered you question ;-) –  birgire Feb 7 '13 at 14:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.