Difference between revisions of "Template:MediaPlayer"

From MoodleDocs
(MDLSITE-4989 - thanks David Mudrak :-))
 
m (Fix the urlargs parameter syntax (upstream documentation seems to be wrong))
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|id={{{url}}}
 
|id={{{url}}}
 
|description={{{desc|{{{url}}}}}}
 
|description={{{desc|{{{url}}}}}}
 +
|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}}