Cleanup YouTube/Vimeo Embed
-
When a teacher embeds a YouTube/Vimeo video, we want the video UI to be as clean as possible.
In order to do this, YouTube allows as to alter the player controls using some optional parameters.
These are:
modestbranding – This parameter lets you use a YouTube player that does not show a YouTube logo. Set the parameter value to 1 to prevent the YouTube logo from displaying in the control bar.
rel – If the parameter’s value is set to 0, then the player does not show related videos.The rel is especially important as most videos uploaded in courses, will be unlisted and you want the user to actually stay on your platform and not getting related videos and start browsing YouTube…
So a correct embed would look like this:
<iframe width="560" height="315" src="https://www.youtube.com/embed/Cmvmg9M4oxo?rel=0&modestbranding=1" frameborder="0" allowfullscreen></iframe>
For Vimeo, we have the following settings: https://vimeo.zendesk.com/hc/en-us/articles/360001494447-Player-parameters-overview
Here I would remove the title.Thanks!
- The topic ‘Cleanup YouTube/Vimeo Embed’ is closed to new replies.