Template:MediaPlayer: Difference between revisions
From MoodleDocs
David Mudrak (talk | contribs) 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) |
David Mudrak (talk | contribs) 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= | |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}}