From 59d5aa451589dbdffb3f7afcba780d88d6518912 Mon Sep 17 00:00:00 2001 From: Cutls Date: Sun, 23 Jun 2019 01:20:17 +0900 Subject: [PATCH] Add: audio player(chrome default) --- app/css/tl.css | 3 +++ app/js/tl/misskeyparse.js | 6 ++++++ app/js/tl/parse.js | 5 +++++ app/view/en/index.html | 11 +++++++---- app/view/ja/index.html | 11 +++++++---- app/view/make/index.sample.html | 3 +-- app/view/ps/index.html | 11 +++++++---- 7 files changed, 36 insertions(+), 14 deletions(-) diff --git a/app/css/tl.css b/app/css/tl.css index be5dd61e..d023467e 100644 --- a/app/css/tl.css +++ b/app/css/tl.css @@ -594,6 +594,9 @@ p:not(:last-child) { width: 100%; height: 100%; } +audio{ + height: 2rem; +} @keyframes jump { 0% { transform: translateY(0); diff --git a/app/js/tl/misskeyparse.js b/app/js/tl/misskeyparse.js index 1c83e7fa..105a97fc 100644 --- a/app/js/tl/misskeyparse.js +++ b/app/js/tl/misskeyparse.js @@ -497,6 +497,12 @@ function misskeyParse(obj, mix, acct_id, tlid, popup, mutefilter) { '" data-type="video" class="img-parsed">