Jump to content

Why textarea doesnt support iframe embed?


siulynot
 Share

Recommended Posts

Hi, im trying to embed a youtube video on a body of a home.php. 

I supposedly have the Video Embed module, but i insert the link and doesnt gets converted to video. The i try to insert the Iframe embed but it gets erased as soon as i save it. 

It is very useful and simple to embed stuff in a body text area... why is it not supported in PW?

Link to comment
Share on other sites

It is supported if you allow it in your field's TinyMCE settings. Setup > Fields > body > input > Advanced TinyMCE settings. 

It's not recommended though, because being able to enter things like iframes or scripts directly in body copy are considered bad security. It's better to use a runtime module like the TextformatterVideoEmbed module. If you are finding that doesn't work in your case, then give more details -- what is the URL you are pasting in? The first thing we'd want to do is make sure it is in the expected format. Next we'd make sure it is in it's own paragraph (i.e. has 1 blank line above and below it, if placed among other copy). 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...