In the highly unlikely scenario the browser doesn’t support <video> tags we now tell the visitor to go watch it on youtube.

(Thanks Yasin Okumus for the idea!)
This commit is contained in:
Reinier Zwitserloot committed 2017-05-29 21:09:39 +02:00
1 parent 7c8f9fa445
commit 4053b325fa
1 file changed
+4 -12
+4 -12
View File
@@ -16,22 +16,14 @@
<object width="800" height="500" type="application/x-shockwave-flash"
data="/videos/player.swf?image=poster.png&amp;file=lombok.mp4" allowfullscreen="true">
<!--<![endif]-->
<h1>Can't watch the video?</h1>
<p>
<strong>No video playback capabilities detected.</strong>
Why not download it instead?<br/>
<a href="https://www.youtube.com/watch?v=y6zMyM-YTgg">See it on Youtube instead</a>.
</p><p>
Or, download the video:<br/>
<a href="/videos/lombok.mp4">MPEG4 / H.264 (Windows / Mac)</a> |
<a href="/videos/lombok.ogv">Ogg Theora &amp; Vorbis ".ogv" (Linux)</a>
</p>
<p>
To play the video in the webpage, please do one of the following:
<ul>
<li>
Upgrade to <a href="https://www.mozilla.org/firefox/">Firefox</a> or <a href="https://www.google.com/chrome/">Chrome</a>
</li><li>
Install <a href="https://get.adobe.com/flashplayer/">Adobe Flash</a>
</li>
</ul>
<!--[if !IE]>-->
</object>
<!--<![endif]-->