mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Support Netscape Navigator 9
This commit is contained in:
parent
6d560b8507
commit
9babaccd3b
9 changed files with 18 additions and 7 deletions
|
|
@ -43,4 +43,4 @@ html
|
|||
h3.footer__colhead About
|
||||
ul.footer__list
|
||||
li: a(href="/privacy") Privacy policy
|
||||
li: a(href="/js-licenses" data-jslicense=1) JavaScript licenses
|
||||
li: a(href="/licenses" data-jslicense=1) Licenses
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
extends includes/layout.pug
|
||||
|
||||
block head
|
||||
title JavaScript license information
|
||||
title License information
|
||||
|
||||
block content
|
||||
main.js-licenses-page
|
||||
h1 JavaScript license information
|
||||
h1 License information
|
||||
h2 JavaScript
|
||||
table#jslicense-labels1
|
||||
thead
|
||||
tr
|
||||
|
|
@ -20,3 +21,5 @@ block content
|
|||
td: a(href=file)= file
|
||||
td: a(href="http://www.gnu.org/licenses/agpl-3.0.html") GNU-AGPL-3.0-or-later
|
||||
td: a(href=file)= file
|
||||
h2 Flash
|
||||
p Flash playback is provided by #[a(href="https://github.com/gokercebeci/f4player/") f4player by Goker Cebeci.] (HTML 5 playback is still preferred where possible; Flash is only tried on ancient browsers.)
|
||||
|
|
@ -32,6 +32,9 @@ block content
|
|||
source(src=format.url type=format.type)
|
||||
each t in video.captions
|
||||
track(label=t.label kind="subtitles" srclang=t.languageCode src=t.url)
|
||||
// fallback: flash player
|
||||
- let flashvars = new URLSearchParams({skin: "/static/flash/skin.swf", video: format.url})
|
||||
embed(type="application/x-shockwave-flash" src="/static/flash/player.swf" id="f4Player" width=1280 height=720 flashvars=flashvars.toString() allowscriptaccess="always" allowfullscreen="true" bgcolor="#000000")
|
||||
else
|
||||
video(src="")#video.video
|
||||
.stream-notice The server provided no playback streams.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue