Please follow these steps to embed your YouTube video into your site using CMX:
- In the YouTube video page, on the right side of the video (below the description), there is some code labeled, "Embed:" copy that code for later.
- In the staging site, go to the CMX Main Control Panel (right click anywhere on the page and click on CMX Main Control Panel)
- Click on the link: Template Editor
- Click Entire Site:
- Click New
- Name the template (with NO spaces), for example: YouTube_Video. Click OK
- Paste the YouTube embed code into that area. To center the video on the page, enter the following tags between the YouTube embed code: <div align="center">YOUTUBE EMBED CODE</div>
(If there is a message that pops up when trying to paste the code, simply click "Allow Access" as many times as you need for the code to paste.) - The code will look something like this:
<div align="center"><object width="425" height="344"><param name="movie" value="http://www.youtube.com"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></div>
- Click the Save button at the bottom
- Go to the page where you would like the video to show up.
- Enable CMX and right click on the red triangle, on the top of the page (probably where the header is). Click on Edit Main Container.
- In the right column, find the name of the template you created, for example: YouTube_Video Template
- Click on the <<Add button
- On the left column, you can click and drag on the video wherever you want it placed relative to the site. Click OK
Your video should be embedded on the page, with all the navigation buttons as well (play, pause, etc.)