OREGON STATE UNIVERSITY

How do I embed videos from YouTube in my site?

Videos from YouTube can be embedded in your site by changing the input format to PHP and pasting the embed code into the “Body” field.

In YouTube:

  1. Find the video you want to embed
  2. Click Share
  3. Click the Embed button
  4. Copy the embed code

On your site:

  1. Switch the input format to PHP
  2. Paste the embed code where you want it
  3. Preview the page to make sure it’s how you want it
  4. Save your page

Instructions

Click on any image to view a lightbox version of this instruction set.

Step 1 OSU Instructional Image YouTube Visual Directions
Step 2 OSU Instructional Image Drupal Visual Directions