refined video template to give less-than-useful error message on
failbrowsers git-svn-id: http://yolanda.mister-muffin.de/svn@388 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
f115564570
commit
43bdd6d5f7
4 changed files with 30 additions and 11 deletions
|
@ -152,6 +152,12 @@ ul
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content #messagebox
|
||||||
|
{
|
||||||
|
margin-right: 0em !important;
|
||||||
|
border-width: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
#heading,
|
#heading,
|
||||||
#login,
|
#login,
|
||||||
#search,
|
#search,
|
||||||
|
|
|
@ -64,6 +64,11 @@
|
||||||
|
|
||||||
|
|
||||||
<%def name="tagcloud()">
|
<%def name="tagcloud()">
|
||||||
|
|
||||||
|
<a href="#content" style="display:none;">
|
||||||
|
Skip tagcloud.
|
||||||
|
</a>
|
||||||
|
|
||||||
<div id="tagcloud">
|
<div id="tagcloud">
|
||||||
|
|
||||||
<h1>Popular tags</h1>
|
<h1>Popular tags</h1>
|
||||||
|
@ -121,6 +126,10 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<a href="#content" style="display:none;">
|
||||||
|
Skip menu.
|
||||||
|
</a>
|
||||||
|
|
||||||
${self.login()}
|
${self.login()}
|
||||||
|
|
||||||
${self.search()}
|
${self.search()}
|
||||||
|
@ -128,12 +137,6 @@
|
||||||
${self.tagcloud()}
|
${self.tagcloud()}
|
||||||
|
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h1>
|
|
||||||
<img src="${h.url_for('logo')}" alt="${g.platform_name} logo"/>
|
|
||||||
</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="heading">
|
|
||||||
<h1>
|
<h1>
|
||||||
${self.heading()}
|
${self.heading()}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
<%def name="heading()">
|
<%def name="heading()">
|
||||||
Upload Video
|
upload video
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,12 +14,22 @@
|
||||||
poster="${h.url_for('/dummy/poster.png')}"
|
poster="${h.url_for('/dummy/poster.png')}"
|
||||||
src="${h.url_for('http://127.0.0.1:5000/dummy/video.ogv')}"
|
src="${h.url_for('http://127.0.0.1:5000/dummy/video.ogv')}"
|
||||||
>
|
>
|
||||||
Sorry, your browser does not support the <video> element. <a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/">Firefox 3.1 nightly builds</a>, <a href="http://labs.opera.com/news/2008/07/18/">Opera experimental builds</a> and <a href="http://www.apple.com/safari/">Safari</a> with <a href="http://xiph.org/quicktime/">XiphQT</a> installed can playback videos with varying degrees of success.
|
|
||||||
|
<div id="messagebox" class="error">
|
||||||
|
<span id="message">
|
||||||
|
Your browser does not support the <video> element.
|
||||||
|
<!--
|
||||||
|
<a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/">Firefox 3.1 nightly builds</a>, <a href="http://labs.opera.com/news/2008/07/18/">Opera experimental builds</a> and <a href="http://www.apple.com/safari/">Safari</a> with <a href="http://xiph.org/quicktime/">XiphQT</a> installed can playback videos with varying degrees of success.
|
||||||
|
-->
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
</video>
|
</video>
|
||||||
|
|
||||||
<a href="">download file</a>
|
<div id="download">
|
||||||
|
<a href="">Download (http)</a>
|
||||||
<a href="">download in HD resolution</a>
|
<a href="">Download (bittorrent)</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<img
|
<img
|
||||||
|
|
Loading…
Reference in a new issue