From 8a4546e4a14507aec7db38eab4a398b88477f9cc Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 28 Jun 2019 06:59:02 +0000 Subject: [PATCH] ogg/vorbis/opus player for iPhone/iPad/OSX --- copyparty/web/browser.css | 1 + copyparty/web/browser.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 7a2e7381..039f0bc5 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -162,6 +162,7 @@ a.play.act { text-align: center; background: #444; border-radius: 2em; + line-height: 1em; } #widget { position: fixed; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 95642118..725b6ec1 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -484,7 +484,7 @@ function play(tid, call_depth) { show_modal('

loading ogv.js

thanks apple

'); - import_js('/.nfi-audio/ogvjs-1.5.8/ogv.js', function () { + import_js('/.cpr/deps/ogv.js', function () { play(tid, 1); }); @@ -584,7 +584,7 @@ function autoplay_blocked(tid) {
- Cancel

(show file list)
+ Cancel
(show file list)
`); var go = o('blk_go');