How do I embed a vimeo video into the body field. The iframe is being removed in my input format. How do I add it?
The input formats can be configured at
/admin/settings/filters/list so that you can add the
<iframe> tag as an allowed tag to the input format that you are using.
Though, I think for security purposes, you may want to allow tags other than
<iframe>. One option it so use Vimeo's 'old' embed code (the link would be just above the box where you copy the code from). The old embed code uses the
<object> tags, which you'll likely still have to add to the filter's allowed HTML tag list.
- Change your input format to include
<iframe>, it's in
admin/settings/filters/1/configurefor the "Filtered HTML" format
- If you're the one posting and you're admin, you may use the "PHP" format, not very recommended (don't forget to enable the PHP filter module)
- As Laxman13 suggests, use Embedded Media Field but I would personnaly use the Media: Vimeo module and put the video in a CCK field which could be more usefull when you want to build a views with these videos.
You can use Embedded Media Field module.
Have you tried changing the input filter that is being used on the textarea?
You could also use Embedded Media Field module along with the sub-module Embedded Inline Media. However, all this seems to do is add another input filter to be used to automatically display an embedded video.
You need to refresh the browser page after you submit the node edit form.
Webkit browsers will not show embedded media directly after submit. This is a side effect of a security feature. http://code.google.com/p/chromium/issues/detail?id=98787