File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
app/components/public/stream Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 8
8
<iframe style =" position: absolute;width: 100%; height: 100%; border: 0px;" src =" {{ this.iframeUrl }} " title =" {{ this.iframeTitle }} " allow =" camera; microphone; display-capture" allowfullscreen =" true" />
9
9
{{ /if }}
10
10
11
+ {{ #if this.selectingLanguage.selectingLanguage }}
12
+
13
+ <iframe style =" position: absolute;width: 50%; height: 100%; z-index: -1" id =" video-player-translation" width =" 50%" height =" 50%" frameborder =" 0" title =" YouTube Live Stream Translation"
14
+ src =" https://www.youtube.com/embed/{{ this.selectingLanguage.translationYoutubeId }} ?enablejsapi=1&autoplay=1&modestbranding=1&loop=1&controls=0&disablekb=1"
15
+ gesture =" media" allow =" autoplay; encrypted-media" allowfullscreen =" true" ></iframe >
16
+ {{ /if }}
17
+
11
18
{{ #if (eq @videoStream.videoChannel.provider ' jitsi' )}}
12
19
<Public::Stream::JitsiStream @videoStream ={{ @videoStream }} />
13
20
{{ /if }}
14
21
{{ #if (eq this.provider ' youtube' )}}
15
- <iframe
16
- style =" position: absolute; width: 100%; height: 100%;"
17
- id =" video-player"
18
- frameborder =" 0"
19
- title =" YouTube Live Stream"
20
- src =" https://www.youtube.com/embed/{{ this.youtubeId }} ?enablejsapi=1&playlist={{ this.youtubeId }} &autoplay=1&modestbranding=1&loop={{ if @videoStream.extra.loop 1 0 }} &controls=0&disablekb=1"
22
+ <iframe style =" position: absolute;width: 100%; height: 100%;" id =" video-player" width =" 50%" height =" 50%" frameborder =" 0" title =" YouTube Live Stream"
23
+ src =" https://www.youtube.com/embed/{{ this.youtubeId }} ?enablejsapi=1&playlist={{ this.youtubeId }} &autoplay=1&modestbranding=1&loop={{ if @videoStream.extra.loop 1 0 }} &mute={{ if (eq this.selectingLanguage.selectingLanguage null ) 0 1 }} &controls=0&disablekb=1"
21
24
gesture =" media" allow =" autoplay; encrypted-media" allowfullscreen =" true" ></iframe >
22
25
{{ /if }}
23
26
{{ #if (and (eq @videoStream.videoChannel.provider ' vimeo' ) this.vimeoId )}}
You can’t perform that action at this time.
0 commit comments