Difference between revisions of "Template:MediaPlayer"

From MoodleDocs
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)
m (Fix the urlargs parameter syntax (upstream documentation seems to be wrong))
 
Line 3: Line 3:
 
|id={{{url}}}
 
|id={{{url}}}
 
|description={{{desc|{{{url}}}}}}
 
|description={{{desc|{{{url}}}}}}
|urlargs="modestbranding=1&rel=0"
+
|urlargs=modestbranding=1&rel=0
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  

Latest revision as of 11:20, 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}}