If you want to embed adhoc YouTube videos into you Drupal 7 pages, you have several option.
One option is to use the “Embed” option on the YouTube page. This will create an iFrame HTML code that you can paste into your page. You will need to turn off the WYSIWYG filter first to embed raw HTML – and then the video will appear as white block while editing.
However, there are several thnigs you will need to activate inorder to get this working.
- Install Media and Media YouTube modules
- Add the Media button to your WYSIWYG buttons
- Change the Text Filter to format the Media code.