Template:YouTubeWithCommonsFallback: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 41: Line 41:
<div class="video-caption" style="text-align:center;">
<div class="video-caption" style="text-align:center;">
</html>{{#if:{{{caption|}}}|<p>{{{caption}}}</p>}}<html>
</html>{{#if:{{{caption|}}}|<p>{{{caption}}}</p>}}<html>
<p>This video hosted by YouTube.com is subject to its <a class="external text" href="//www.youtube.com/t/terms">Terms of Use</a> and <a class="external text" href="//www.google.com/intl/en/policies/privacy/">Privacy Policy</a>. If you prefer, <a id="showcommonsvideo" href="</html>{{fullurl:commons:{{{commons|File:The_Impact_Of_Wikipedia.webm}}}}}<html>">view on Wikimedia Commons</a>.</p>
<p></html>This video hosted by YouTube.com is subject to its [https://www.youtube.com/t/terms Terms of Use] and [https://www.google.com/intl/en/policies/privacy/ Privacy Policy]. If you prefer, <span id="showcommonsvideo">[{{fullurl:commons:{{{commons|File:The_Impact_Of_Wikipedia.webm}}}}} view on Wikimedia Commons].<html></p>
</div>
</div>
</div><!-- /video-outer-wrapper -->
</div><!-- /video-outer-wrapper -->
Line 62: Line 62:
});
});


$("a#showcommonsvideo").click(function(event){
$("#showcommonsvideo a").click(function(event){
event.preventDefault();
event.preventDefault();
showCommonsVideo();
showCommonsVideo();

Revision as of 18:02, 27 September 2016

This video hosted by YouTube.com is subject to its Terms of Use and Privacy Policy. If you prefer, view on Wikimedia Commons.

{{YouTubeWithCommonsFallback
| placeholder = Wikipedia_Puzzle_Globe.jpg
| youtube     = 3Knv6D6Thi0
| commons     = File:The_Impact_Of_Wikipedia.webm
| caption     = Caption
| width       = 640
}}