Moving Video from PolyLearn to YouTube

Currently, the PolyLearn environment cannot handle direct video uploads. The PolyLearn team is in the process of working toward a solution to this issue. In the meantime, we encourage faculty to utilize YouTube's hosting services and link to the YouTube video files from PolyLearn. The following tutorial will assist you in this process.

What does a YouTube video embedded into PolyLearn look like? Check out this short example.



Questions Regarding Video in PolyLearn or YouTube

We are excited to see an increase in the use of educational videos in PolyLearn courses. We understand it took time to create these valuable resources for your students and to upload them into your PolyLearn course. However, PolyLearn was not designed to play videos uploaded directly into a course. Videos uploaded directly to PolyLearn result in severe performance problems for all PolyLearn users at Cal Poly. The PolyLearn team is in the process of working toward a solution to this issue. In the meantime, we encourage faculty to utilize YouTube's hosting services and link to video files through YouTube until a better solution can be offered.

    Q: If my video file is rather small (e.g., approximately 30MB), can my video file remain in the PolyLearn course?
    A: No. It is not the size of the file (eg., 30MB), but the fact that PolyLearn was not designed to serve as a streaming video environment. PolyLearn is a Learning Management System (LMS) that was created to support file sharing, collaboration and assessment -- not to stream or play video files. With streaming video, content is sent over the internet in a compressed form and displays to the viewer in real time. However, when a student views a video in PolyLearn, it engages the server's resources in unusual ways to process the video as it plays, and this slows down the server for all users.

    Q: I don't want my students to view the videos within YouTube because of the other video links on the page.
    A: You can embed the YouTube HTML share code into PolyLearn so students will not see the YouTube site, nor will they leave the PolyLearn environment. See the example.

    Q: What if I want to make my YouTube video completely private after I share it with students?
    A: To prevent anyone from watching your hosted video without explicit permission, in your video's "Privacy settings", select "unlisted".

    Q: Why can't PolyLearn support video now? I have been putting video into PolyLearn for over a year.
    A: PolyLearn is not designed to support video. As the demands on PolyLearn have increased, and as more videos have been uploaded, we have experienced critical issues that the system did not see in prior years. For Fall 2013 alone, there are over 320 video files that have been uploaded in large enrollment courses (the more clicks, the more resource demand). With the increase in video files and users accessing those video, we have seen significant performance problems in just the first 2 weeks of the quarter.


Signing into YouTube

If you already have a YouTube account and you remember your username and password, you can simply follow the instructions below to navigate to YouTube and sign in. If you haven't ever created a YouTube account to begin with, please skip this sign in step and go to the instructions in the next section labeled Creating a YouTube Account.

  1. Open your web browser and go to http://www.youtube.com
  2. Click on the Sign In button in the top right corner of the YouTube main page.

    sign in button for YouTube

  3. Sign in to YouTube with the Email and Password you used to create your YouTube account. Check the box labeled Stay signed in and then click on the Sign in button.

    Sign in area for YouTube

  4. Once you are signed in, skip the Creating a YouTube Account instructions directly below and jump to the section labeled Requesting to Upload Videos Longer than 15 Minutes in Length.

Creating a YouTube Account

If you already have a YouTube account and you know your username and password, you can skip this first section on Creating a YouTube Account and continue to the section below on Signing into YouTube. If you have never created a YouTube account, please following the instructions below.

  1. Open your web browser and go to http://www.youtube.com
  2. Click on the Sign In button in the top right corner of the YouTube main page.

    sign in button for YouTube
  3. Click on the Create An Account button.

    Create an account button in YouTube


  4. Fill out the form with the information that YouTube requires. Google and YouTube are interconnected so these steps will also result in a Google+ account being created as well. (Note: Be sure and record somewhere the email address you used and the password you created. You will need this anytime you wish to log in to your YouTube account.)

    account info in YouTube

  5. To prove to Google that you are a real person instead of web browser robot, type in the text for the numbers or word that is displayed on the screen.

    robot verification

  6. Select Location > United States and click on the checkbox next to "I agree to the Google Terms of Service and Privacy Policy." You may uncheck the second option, if you wish, so that Google doesn't use your account information for personalization of ads. Click on the Next step button.

  7. Google will display the phone number you provided when you set up the account on the account information page. Select either Text message (SMS) or Voice Call and click Continue.

    verify account

  8. Check your phone for a text message or voice mail from Google (depending upon which choice you made above in Step 7.) Type the verification code sent by Google in the text box underneath Enter verification code. Click Continue. (Note: Currently, YouTube is unable to offer other ways to verify your account except through your mobile phone. If you do not have a personal mobile phone to carry out the verification process, you will not be able to upload videos to YouTube that are longer than 15 minutes.)

    Verification Code to Your Phone

  9. Google will send a verification message to the email account that you provided when you created your account. If you can't find it, be sure to check your Junk or Spam folder before requesting that Google resend the verification email.

    verify email address message

  10. Below is an example of the email you will receive from Google. Click on the activation link provided in the email in order to activate your account. This verification is required to make sure that the person that owns the email provided in the account creation actually requested that the account be created.

    email verification

  11. Google will display how your profile will appear. The profile will be displayed in your YouTube Channel and next to videos that you upload. If you wish to add a photo to your profile, click on the Add Profile Photo button.

    Add Profile Photo

  12. You can drag the photo you wish to use for your profile picture into this dialog box or click on the button that says, Select a photo from your computer.

    Select Photo for Profile

  13. Drag and move the edges of the cropping box to crop the portion of the photo you wish to be displayed. Click on the Set as profile photo button.

    Crop Profile Photo

  14. Google will display how your photo will appear in your profile. Choose to either edit your profile photo or continue by clicking on the Next step button.

    Profile Confirmation

  15. Google will display a Welcome page. Click on the Back to YouTube button at the bottom of the page.

    Welcome Page

  16. Google will take you to YouTube. Notice that you will know when you are signed in to YouTube because you will see your name and profile picture in the upper right corner of the page.

    Signed in View

Requesting to Upload Videos Longer than 15 Minutes in Length

By default in Youtube, you can only upload videos that are 15 minutes or less in length. If you followed the steps above to create your YouTube account, you have already gone through a verification process with Google; however, YouTube requires that you do this verification process again to receive permission to upload videos that are longer than 15 minutes in length. If you have an older YouTube account, you may have never gone through this YouTube verification process and so you have been restricted to videos that are 15 minutes or less in length.

Please follow the instructions below to verify your YouTube account, which will allow you to upload longer videos. (Note: We advise that you try to break up your personal videos into smaller chunks (e.g., Part 1, Part 2) -- ideally 10 minutes or less, but we realize that sometimes that just isn't possible so you may want the ability to upload longer videos by going through this YouTube verification process.)

  1. Navigate to the following web page: https://www.youtube.com/verify_phone_number
  2. Fill out the Account verification (step 1 of 2) page and click Submit.

    Account Verification

  3. Depending upon which delivery method you selected, YouTube will send you either a text message or an automated phone message. Check your phone and write down the numerical verification code that YouTube sent to you via text or phone message. (Note: Currently, YouTube is unable to offer other ways to verify your account except through your mobile phone. If you do not have a personal mobile phone to carry out the verification process, you will not be able to upload videos to YouTube that are longer than 15 minutes.)

  4. Enter the verification code that YouTube sent you on the page shown below. Click the Continue button.

    YouTube Verification Code Authentication



Extracting Your Video from PolyLearn

You may be able to avoid this step of extracting your existing video from PolyLearn if you have the video somewhere on your personal computer and you know where it resides. However, if you don't know where your original video is, you will need to download it from your PolyLearn course in order to upload it into YouTube.

  1. Turn editing on.
    Turn Editing On in PolyLearn
  2. Scroll down and find the link for the video in your PolyLearn course. Click on the Edit > Edit settings link.

    PolyLearn Update Button

  3. Scroll down to the Content section of the page. The content box will show you the video(s) that have been uploaded to PolyLearn for this particular link. Click on the Download all button.

    Download PolyLearn Video

  4. The video will be downloaded to wherever you have designated for your personal computer to store downloaded files.
  5. Scroll to the bottom of the PolyLearn page and click on the Save and return to course button.

    Save and Return to Course Button


Removing Your Video from PolyLearn

Once you have extracted your video from PolyLearn, please remove it from your course to prevent students from accessing the video file within PolyLearn.

  1. Turn editing on.
    Turn Editing On in PolyLearn
  2. Scroll down and find the link for the video in your PolyLearn course. Click on the Edit > Delete button.

    screen image of remove file in PL


Uploading Your Video to YouTube

Now you will need to upload your video to your YouTube account.

  1. Go to YouTube at http://www.youtube.com
  2. Click on the Sign In button at the top right corner of the YouTube main page.
  3. Sign in to your YouTube account with the email and password you used to create your YouTube account.
  4. Click on the Upload button at the top of the screen.
    Upload Button
  5. The upload video page will appear. From the Privacy menu at the bottom, we suggest that you choose the Unlisted option. This means that your video will not be searchable and only those who have the actual link directly to it will be able to view it.
    - Click on the arrow to select files to upload.

    Upload Video Page
    Note: Be advised, however, that anyone who knows the video’s link can place the video in a playlist, even a public playlist. This could make the video visible on other parts of YouTube, including the homepage. I If you don't mind allowing the whole world to watch your video, select Public. We strongly advise against the option of Private. The problem with the Private option is that it is requires that every viewer of your video have a Google+ account and that you enter the email addresses or profile names one-by-one of those you wish to be able to view your video. This is not a good option for your PolyLearn course.

  6. Find the video you wish to upload (possibly the one that you downloaded from PolyLearn earlier).
  7. YouTube will immediately begin to upload the video you selected and show you a processing progress bar. Type in a Title for your video, a Description, and any tags that might be helpful. Several tags can be inserted by typing in the Tags box and placing a comma after each tag. Make sure your Privacy settings is set to Unlisted. Select a Category for your video, such as Education. Generally, YouTube automatically saves your changes as you type entries on this page. If it has saved the info, it will say "All changes saved" next to the Save button at the bottom of the page. However, if it hasn't saved your entries, then the Save changes button will be active in the bottom right corner of the page. Click on the Save changes button, if needed.

    Video Upload Info Page

  8. When your video is finished processing, YouTube will provide you with the link at the top of the page. Click on the link to your video.

    Link to YouTube Video

  9. Watch some of video to make sure it uploaded correctly.
    Videos are placed inside your Video Manager. You can also create a browser bookmark if you like.


Copying and Embedding Your YouTube Video Within PolyLearn

video iconview video

YouTube videos can be embedded into a PolyLearn course using any of the PolyLearn tools that have an HTML editor (e.g., Edit Summary, Label, Page, Book, Wiki, Lesson, etc.) .The advantage of embedding a YouTube video instead of simply posting a URL directly to the YouTube video is that students won't become so easily distracted within YouTube, wandering around watching other videos outside of the videos you hope for them to focus upon.

Step One: Copy the embed code from YouTube...

  1. Open your web browser and go to http://www.youtube.com
  2. Click on the Sign In button in the top right corner of the YouTube main page.

    sign in button for YouTube
  3. Open the Youtube video file you wish to post. If it is your personal video and you have set the privacy settings to unlisted or private, you will have to sign into your account and from the pull-down arrow, find the link for the Video Manager. Find the video you wish to post from the list of your videos in the Video Manager and click on the title of the video so it opens up in a YouTube page. Find the Share button below the video and click on it.

    YouTube Share Button

  4. Click on the Embed button. Go down to the Video size pull-down menu and select a size for your video to display initially on the PolyLearn web page. We suggest 960 X 720, which works well with most modern video displays. If your students wish to view the video in full screen mode, they can always choose the full screen button when they are viewing the YouTube video within PolyLearn.

    Embed Button

  5. Select all of the HTML code that appears in the embed box by highlighting it with your mouse and use Command-C (Macintosh) or Control-C Copy (Windows) to copy the HTML code to your computer's clipboard. Later on, in the next step, we will paste this embed code into PolyLearn.

    Select Embed Code

Step Two: Create a Page in PolyLearn and Paste Embed Code...

Note: You may want to avoid placing an embedded video link within the Edit Summary and Label areas of your main course page since doing so will slow down the loading time of the page.

  1. Select Turn editing on.
  2. Click on the Add an activity or resource link.
    Add an Activity or Resource Link
  3. Choose the Page tool (or Label , Book , Lesson, Forum)

    The page option highlighted within the add a resource pull-down menu.

  4. If needed, click the Expand All button in the upper right area of the page.
  5. Expand All

  6. Under the General section, type the Name (required) that you wish to be displayed for the Page link for the video (e.g., Climbing Mt. Everest Video).
  7. Type the Description (required) into the text box.
  8. Scroll down to the Page content* section and click on the HTML button to open the HTML Source Editor.

    HTML button
  9. Using Command-V (Macintosh) or Control-V (Windows), paste the YouTube embed code that you previously copied to your clipboard into the box of the HTML Source Editor.

    screen image of the HTML editor

  10. Click on the Update button at the bottom of the HTML Source Editor.
  11. Scroll to the bottom of your PolyLearn page and click on Save and return to course.

    Save and Return to Course Button

    Now when you click on the link to your video in your PolyLearn course, you will be taken directly to your video within your PolyLearn course, rather than jumping out to YouTube. Test your video by clicking on the link in your course and watching a small portion of the video.

Preventing related video links after video has been played

If you don't want your embedded video to show suggested videos after it has been played, you will need to make sure you prevent this when you are copying the embed code from YouTube.

  1. After you have clicked Share, and Embed on the YouTube page for your video, you will see the embed code as well as options for Video size and other settings.
  2. Make sure that you un-check the box that says Show suggested videos when the video finishes. It is usually checked by default.
  3. Un-check Show suggested videos

  4. Only after you have un-checked this box, copy the code and add to your course as described in the Embedding YouTube Files tutorial.
  5. Alternatively, if you already have your video in your course, you can simply edit the HTML code in the HTML editor. Once you have opened the HTML editor for the video you added, you will see the embed code from YouTube.
  6. Type in "?rel=0" after the youtube URL in the code, within the quotation marks.
  7. Prevent Related Videos Code

  8. Click Update, and then save these settings. Your embedded video should no longer show related videos after it has finished playing.