Thank You 2020/pcoombe: Difference between revisions
Content deleted Content added
Created page with "<html><meta name="viewport" content="width=device-width, initial-scale=1"></html><!-- hack: meta tag should really be in the <head> but can't do that --> <html><body> <style>..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 935:
<main id="content">
<section class="video-container">
<video src="https://commons.wikimedia.org/wiki/File:Wikipedia_-_Edit_2019.webm?embedplayer=yes" controls />▼
</section><!--video-container-->
Line 1,102 ⟶ 1,101:
wmf.subscribe.init();
var testVideo = document.createElement('video');
var vidFrame;
if ( testVideo.canPlayType('video/webm; codecs="vp8, vorbis"') === 'probably' ) {
▲ vidFrame =
} else {
vidFrame = '<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/Rm1LKcHD1VE" allowfullscreen="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"></iframe>';
}
$('.video-container').html( vidFrame );
}
|