Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: MediaPlayer.

Template:MediaPlayer: Difference between revisions

From MoodleDocs
(MDLSITE-4989 - thanks David Mudrak :-))
 
(Fix the urlargs parameter syntax (copied from 35 docs))
 
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 12:21, 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}}