Adding a YouTube Video

Flash

  1. Go to the YouTube video to embed. Make sure that you can embed the video, not all can.
  2. Click on Share, under the video, and then Embed.
    ◊ NOTE: this will not be available if the owner of the video does not want you to embed it.
  3. Select, Use old embed code.
  4. Copy the embed code that appears in the text box and paste it in a text editor.
  5. Copy the URL located within the code. This is the file location. It should look something like this: //www.youtube.com/v/k-KXcQR28ns?version=3
    You must make this an absolute URL by adding, http:, to the URL: http://www.youtube.com/v/k-KXcQR28ns?version=3.
  6. Note the dimensions of the video player within the embed code. For example, width = 420px; height = 315px.
  7. Open the Skin Editor and in the Toolbar, click the Add external Image/SWF button,
    Skin external.png
    , and draw an external box (external image).
  8. Open the external image’s properties.
  9. Set the size of the box to match the embedded movie’s size.
  10. Keep, Loading, selected.

HTML5

  1. Go to the YouTube video of choice then click the Share button and then click, Embed.
  2. Copy the embed code, which will look something like this: <iframe width="560" height="315" src="http://www.youtube-nocookie.com/embed/j6gZosASPWs?rel=0" frameborder="0" allowfullscreen></iframe>.
  3. Open the Skin Editor and add a text box. Size it to match the dimensions of the embedded video.
  4. Paste the code into the text field of the text box.
  5. To unload the video, use a blank set text action to remove the code in the text box. To be able to replay the video, use a set text action with the above code.

See also

Skin Editor
Flash Output (Object2VR)
HTML5 Output (Object2VR)