Embedding a YouTube Video

 

To embed a YouTube video, a user needs to create a Media Widget to embed the video url into and then place it somewhere on the site. OpenScholar does allow embed code inside a page's basic HTML (for security reasons). 

To create a Media Widget:

1. Go to Admin Bar > Appearance > Layout
2. Click the Add New Widget Tab
3. Choose Embed Media
4. Fill in Widget Description (for example front page YouTube video)
5. Under File or HTML click the Add button.
6.In the embed window, click on Web and copy and paste the YouTube video's url (https://www.youtube.com/watch?youtubeID)
7. Click Save
8. Drag and drop the new media widget into the area of your choice in your layout.
9. Click Save.

To embed a YouTube video inside the text of an already existing widget (for example the Bio widget):

1. Click on the Gear and choose Edit.
2. In the textbox, click on the section you want to embed the video.
3. Click on the Add Media icon (looks like a picture) in your text editor.
4. Click Web
5. Paste the YouTube video url inside the textbox.
6. Click Submit.
7. Click Save

Now the video will be embedded within the text of the widget or page area of the site. You can also click on the image and control it's alignment inside the text using the WYSIWYG editor.