lilianev
Member
Posted 8 months ago #
I’ve created a new user role in our WordPress theme and our users need to be able to embed YouTube Videos. I tried adding ‘unfiltered_html’ => true to our add_role array but it’s not working. I’ve done some googling and I’m thinking that doesn’t work because we’re working in a network (multisite) environment. Is that correct? Is there another way to give them this capability?
They don't need that. I mean, yes, you could do it with a plugin, but you are aware that youtube videos auto embed right?
Paste the URL to the video: http://codex.wordpress.org/Embeds
lilianev
Member
Posted 8 months ago #
omg. I had no clue. wow, i feel like an idiot.
Thanks for the info!
Don't feel like an idiot! You can't know what you don't know yet :) Now you do, and you can cheerfully protect your site from silly iframe injections ;)