Template:Ytplaylist: Difference between revisions

From OER in Education
No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#Widget:YouTube|playlist={{{1|PL827432C8560941C6}}} }}
{{#Widget:YouTube|playlist={{{1|PL827432C8560941C6}}}}}[[ytplaylist::{{#ifeq:1|1| {{{1|PL827432C8560941C6}}} }}| ]]
 
Use the "playlist" button in the top right or the "|<" and ">|" to skip through the playlist.<noinclude><!-- Note: The "ifeq" above is just for trimming whitespace... -->
 
= How to use this =
 
The above is generated by
<nowiki>{{ytplaylist|PL827432C8560941C6}}</nowiki>
It also creates a property, that allows retrieval of the playlist, e.g.
<nowiki>{{Video/get_series| Video/Abel_Clip_2.m4v}}</nowiki>
gives: {{Video/get_series| Video/Abel_Clip_2.m4v}} and then
<nowiki>{{Video/get_playlist | Video/Abel_Clip_2.m4v }}</nowiki>
gives: {{Video/get_playlist | Video/Abel_Clip_2.m4v }}.
 
</noinclude>

Latest revision as of 14:34, 11 November 2013

Use the "playlist" button in the top right or the "|<" and ">|" to skip through the playlist.

How to use this

The above is generated by

{{ytplaylist|PL827432C8560941C6}}

It also creates a property, that allows retrieval of the playlist, e.g.

{{Video/get_series| Video/Abel_Clip_2.m4v}}

gives: and then

{{Video/get_playlist | Video/Abel_Clip_2.m4v }}

gives: Some use of "" in your query was not closed by a matching ""..