Template:Video: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<div style="border-left: solid 1px green; border-bottom: solid 1px green; padding: 10px; margin-left: 50px; overflow: auto;"> | <div style="border-left: solid 1px green; border-bottom: solid 1px green; padding: 10px; margin-left: 50px; overflow: auto;"> | ||
{{#ifeq: {{{type|youtube}}}|youtube|{{#widget:YouTube|id={{{src|4Kdi_n5QAzY}}} }} }} | {{#ifeq: {{{type|youtube}}}|youtube|{{#widget:YouTube|id={{{src|4Kdi_n5QAzY}}} }} }} | ||
{{#ifeq: {{{type|youtube}}}|mp3| | {{#ifeq: {{{type|youtube}}}|mp3|{{#widget:Html5media | ||
|url={{filepath:{{{src|AskAIDS 7 preparing to consult.mp3}}} }} | |||
|width=640 | |||
|height=30 | |||
}} | |||
'''{{{title|Some title}}}''' | '''{{{title|Some title}}}''' |
Revision as of 23:56, 4 December 2012
src= youtube id
Also see
- Should add check: If Video != Video then if Video != {{{name}}} then warning!
- Also check whether Video/name/text exits, and include it if it does .... should have a switch really, {{:</nowiki> Video/{{{name}}} | style=1 <nowiki>}} or similar. Need to include a style switch above