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 88 <iframe style =" position: absolute;width: 100%; height: 100%; border: 0px;" src =" {{ this.iframeUrl }} " title =" {{ this.iframeTitle }} " allow =" camera; microphone; display-capture" allowfullscreen =" true" />
99 {{ /if }}
1010
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+
1118 {{ #if (eq @videoStream.videoChannel.provider ' jitsi' )}}
1219 <Public::Stream::JitsiStream @videoStream ={{ @videoStream }} />
1320 {{ /if }}
1421 {{ #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"
2124 gesture =" media" allow =" autoplay; encrypted-media" allowfullscreen =" true" ></iframe >
2225 {{ /if }}
2326 {{ #if (and (eq @videoStream.videoChannel.provider ' vimeo' ) this.vimeoId )}}
You can’t perform that action at this time.
0 commit comments