diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-05-29 21:09:39 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-05-29 21:09:39 +0200 |
commit | 4053b325fa03cadd3c64996742d81bdb6b44d6aa (patch) | |
tree | 6b0ce54ece63cff203bbb33748b268ad79aaa89d /website | |
parent | 7c8f9fa445e0b21f691367210dc5fb79e79b2afa (diff) | |
download | lombok-4053b325fa03cadd3c64996742d81bdb6b44d6aa.tar.gz lombok-4053b325fa03cadd3c64996742d81bdb6b44d6aa.tar.bz2 lombok-4053b325fa03cadd3c64996742d81bdb6b44d6aa.zip |
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!)
Diffstat (limited to 'website')
-rw-r--r-- | website/templates/main.html | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/website/templates/main.html b/website/templates/main.html index 3f9eef82..18f7230b 100644 --- a/website/templates/main.html +++ b/website/templates/main.html @@ -16,22 +16,14 @@ <object width="800" height="500" type="application/x-shockwave-flash" data="/videos/player.swf?image=poster.png&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 & 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]--> |