Difference between revisions of "Template:MediaPlayer"

From MoodleDocs
(MDLSITE-4989 - thanks David Mudrak :-))
 
m (Improve playing videos on YouTube: (1) prevent the YouTube logo from displaying in the control bar; (2) When playback of the initial video ends, show related videos from the same channel as the video that was just played)
Line 3: Line 3:
 
|id={{{url}}}
 
|id={{{url}}}
 
|description={{{desc|{{{url}}}}}}
 
|description={{{desc|{{{url}}}}}}
 +
|urlargs="modestbranding=1&rel=0"
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  

Revision as of 11:17, 30 October 2018


Displays an embedded media player of the given YouTube video.

Syntax

{{MediaPlayer | url = https://www.youtube.com/watch?v=U7M3sZL6wts | desc = Video description}}