The video below is a YouTube video and is embedded using the Video_filter module. This approach saves you from having to use the PHP provided by YouTube and thus having to enable the PHP input format for the node. For some sites, this is not a big deal but for sites whose users are not web savvy, allowing the users to enter PHP could put your site at risk if the code has errors. To install and use the video filter, follow the steps below.
Install the Video_filter Module
- Install and enable the Video_filter.
- Go to admin > site configuration > input formats. Edit the input filter that will include the Video filter. Add the Video filter to your input filter.
Use the Video_filter Module
- Locate the video you want to use on a site that the Video_filter module supports (see the Video filter project page for details) . Copy the URL from the browser address bar and paste it into the filter format shown on the Video_filter project page.
- Insert the filter into the body of your node.
- Remember to select the applicable input format when creating your node.
Note: I have no affiliation to davecormier, the author of this video. I chose it because it was short, clear, and nicely done. This video can be seen in YouTube at http://www.youtube.com/watch?v=TH-oibxcKbI&feature=related.