From aec18c42ef72bf93dc4e931dbca4ade19db5d9fb Mon Sep 17 00:00:00 2001
From: Anton Schubert
Date: Sat, 2 May 2020 22:18:24 +0200
Subject: use voc-player for audioOnly (except explicit translated versions),
remove dash notice
---
assets/js/lustiges-script.js | 1 +
template/assemblies/player/audio.phtml | 17 +++++++++++++----
template/assemblies/switcher/dash.phtml | 8 --------
3 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index 3b38a2d..e7f8a86 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -40,6 +40,7 @@ $(function() {
baseUrl: 'assets/voc-player/',
autoPlay: true,
poster: $player.data("poster"),
+ audioOnly: !!$player.data("audio-only"),
events: {
onReady: function() {
var player = this;
diff --git a/template/assemblies/player/audio.phtml b/template/assemblies/player/audio.phtml
index c3594eb..71b01b4 100644
--- a/template/assemblies/player/audio.phtml
+++ b/template/assemblies/player/audio.phtml
@@ -1,3 +1,5 @@
+
+ if($stream->isTranslated()): ?>
-
DASH is an adaptive-bitrate HTTP-based streaming solution that is (unlike existing proprietary solutions such as HLS) internationally standardized.
-Support for DASH in open source software such as ffmpeg is still pretty rough, so consider this a technology-preview, it's not yet a stable solution.
-Please report your experience to @c3voc.
-