Template:YoutubePopup: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
(Second parameter: if 'big', shows bigger thumbnail)
Line 5: Line 5:
gives
gives


{{YoutubePopup|6dwdAF2qr7g}}
{{YoutubePopup|6dwdAF2qr7g|big}}


----
----
</noinclude><includeonly><html><a target='_blank' href="https://www.youtube.com/embed//</html>{{{1}}}<html>"></html>http://img.youtube.com/vi/{{{1}}}/default.jpg<html></a></html></includeonly>
</noinclude><includeonly><html><a target='_blank' href="https://www.youtube.com/embed//</html>{{{1}}}<html>"></html>http://img.youtube.com/vi/{{{1}}}/{{#switch: {{{2}}}
| big = 0
| #default = default
}}.jpg<html></a></html></includeonly>

Revision as of 04:41, 21 September 2011

Usage Examples

{{YoutubePopup|6dwdAF2qr7g}}

gives

http://img.youtube.com/vi/6dwdAF2qr7g/0.jpg