Embedding a video in your iWeb page is done with the HTML Snippet option and not by pasting the code on the body of the page. If you try copying the HTML code you can get from a site such as YouTube or Vimeo and then pasting it into anything but the HTML Snippet widget, the embedded video may not work. To embed the video in the right place, select the "iWeb Web" widget option and then select "HTML Snippet."
Apple's iWeb lets users create and customize their own websites. You can add your video to your iWeb site by either loading the video to your iWeb platform or embedding the video from another location, such as YouTube or Vimeo, on your iWeb page. If you're having trouble embedding your video, there are a few different things you can look at to determine if you're inserting and displaying the video properly.
HTML Code Placement
Make sure the embedded HTML code is correct. Ensure that you've copied the entire code, as missing even one character can make it so the HTML code is incomplete and not capable of functioning. Instead of checking the code line by line, it's often easier to go back to where you originally picked the code up and carefully copy the entire code for your video and then use it to replace the existing code in iWeb for that video.
Width and Height
Make sure the HTML code from the source video includes parameters that fit within the constraints of your iWeb site. Look at the "width" and "length" section of the video's code, which looks something like "width='425'" within the string of code. The number represents the number of pixels for the width and length of the video; in some cases, having a width that is too wide may cause the video to not show up. Try making the width and length numbers smaller so that you keep the video's original proportions and then try viewing the video on your iWeb page.
For Mac users, also ensure that the version of iWeb you are using is compatible with your operating system, which may cause any number of glitches. For example, the Lion version of the Mac OS is only compatible with iWeb 3.0.
- Photo Credit Photodisc/Photodisc/Getty Images