Mall:MediaPlayer: Skillnad mellan sidversioner

Från MoodleDocs
Hoppa till:navigering, sök
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)
 
Rad 3: Rad 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>



Nuvarande version från 30 oktober 2018 kl. 11.20


Displays an embedded media player of the given YouTube video.

Syntax

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