Template:YouTubeWithCommonsFallback: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
optional |
No edit summary |
||
Line 45: | Line 45: | ||
</div><!-- /video-outer-wrapper --> |
</div><!-- /video-outer-wrapper --> |
||
<script> |
<script> |
||
function inlineScriptWhenReady() { |
|||
/* Wrapper function so waits until jQuery ready - see MediaWiki:Common.js */ |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
$(" |
$(".video-placeholder").click(function () { |
||
⚫ | |||
event.preventDefault(); |
|||
⚫ | |||
⚫ | |||
⚫ | |||
}); |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}) |
|||
⚫ | |||
⚫ | |||
$("a#showcommonsvideo").click(function(event){ |
|||
⚫ | |||
event.preventDefault(); |
|||
⚫ | |||
⚫ | |||
⚫ | |||
showCommonsVideo(); |
|||
} |
|||
} |
} |
||
Revision as of 21:02, 11 May 2016
{{YouTubeWithCommonsFallback | placeholder = Wikipedia_Puzzle_Globe.jpg | youtube = 3Knv6D6Thi0 | commons = File:The_Impact_Of_Wikipedia.webm | caption = Caption | width = 640 }}