Adding Video to Your Web Pages
Offering video on your website is a great benefit for your visitors, especially if you have videos of interest or of special use to your target audience. For instructional or promotional videos, you will want to take advantage of the free networking and marketing YouTube will do for you if you upload your video there. If your video is not for the general public, Vimeo is a good option. Both services are free for you.
Click here to learn how to get started with YouTube.
Click here to learn how to get started with Vimeo.
Embed Your Video on a Website Page
Step One: Get the Embed Code
In YouTube:
- Go to your video in YouTube and click the Share link below the video.
- Click the Embed button that pops up in the Share a Link panel.
- In the Embed Code, the Width and Height of the player frame is something you can adjust to your preferences.
If your video will be the main content of a page and your video is 16:9 ratio (common wide video format), you might want to set it to be a width of 1280 x 720 pixels. If you want it to be medium sized, 480 x 270 pixels wide is a good range. Other common sizes include 853 x 480, 640 x 360, and 560 x 315. When you enter your numbers, make sure they keep the double-quotes, so the code should look like the example above. - Once you have the size you like, click the Copy button in the lower right.
In Vimeo:
- Go to your video in Vimeo and click on the Paper-Airplane Icon.
- Below the Embed Code, click Show More to see your full options. Choose the size of the video you want If your video will be the main content of a page, you might want to set it to be a width of 800 - 1,200 pixels or so. If you want it to be medium sized, 400 - 600 pixels wide is a good range (Vimeo will adjust the height automatically for whatever pixel width you enter).
- You also have options, such as Autoplay (we strongly recommend you don't use this, unless this video will be on a page where the visitor will expect to see a video playing when they go to the page: most visitors will immediately stop a video or close the page window when unexpected content begins playing and they didn't push play). You can also set the video to loop, so if it is a short promotion or something that you would want to continuously run, this is an option for you.
- Once you have your options in place, copy the Embed Code.
Step Two: Embed the Code on Your Page
On your website, follow these steps to get the video onto the page. Do not start these steps until you have copied the embed code from either YouTube or Vimeo, as described above. Please note, for best results in working with our Content Editor, please use Firefox as your browser. Here are the steps:
- After logging into your site, go to the page where you want to place the video and move your mouse over the triangle in the upper left with the blue Plus.
- In the menu that pops up, click Add Body Content.
- Find the Content module at the top of the list and click the Add button for it.
- The Content Editor has a couple of buttons that relate to videos, but those functions do not work properly, so please don't use them. You will want to find the Source Code button (just to the left of Formats; it looks like two arrows pointing away from each other). Find that button and click it.
- Paste the embed code you copied immediately below whatever else is in there. Click OK at the bottom of the Source Code window to update the code change.
- PLEASE NOTE: You will see a gray box for the video frame. After you save the module, you will see the actual video frame when you view the web page. You can click on the gray box to highlight it, then go to Formats and click to Center Align it, if you like.
- Scroll to the bottom of the screen and click the Save button.
Please note that if your video looks too large or too small at this point, you can use the corner handles to drag the video to the size you want. But for a perfect fit, you could also go back to YouTube or Vimeo where you uploaded the video and adjust the size to get a new Embed Code, then replace the code using the steps above.
Comments
0 comments
Please sign in to leave a comment.