File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
app/components/public/stream Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1212 <Public::Stream::JitsiStream @videoStream ={{ @videoStream }} />
1313 {{ /if }}
1414 {{ #if (eq this.provider ' youtube' )}}
15+ {{ #if this.selectingLanguage.selectingLanguage }}
16+ <iframe
17+ style =" position: absolute; width: 100%; height: 100%" id =" video-player-translation" width =" 50%" height =" 50%" frameborder =" 0" title =" YouTube Live Stream Translation"
18+ src =" https://www.youtube.com/embed/{{ this.selectingLanguage.translationYoutubeId }} ?enablejsapi=1&autoplay=1&modestbranding=1&loop=1&controls=0&disablekb=1"
19+ gesture =" media" allow =" autoplay; encrypted-media" allowfullscreen =" true" ></iframe >
20+ {{ else }}
1521 <iframe
1622 style =" position: absolute; width: 100%; height: 100%;"
1723 id =" video-player"
1824 frameborder =" 0"
1925 title =" YouTube Live Stream"
2026 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"
21- gesture =" media" allow =" autoplay; encrypted-media" allowfullscreen =" true" ></iframe >
27+ gesture =" media" allow =" autoplay; encrypted-media" allowfullscreen =" true" ></iframe >
28+ {{ /if }}
2229 {{ /if }}
2330 {{ #if (and (eq @videoStream.videoChannel.provider ' vimeo' ) this.vimeoId )}}
2431 <iframe style =" position: absolute" src =" https://player.vimeo.com/video/{{ this.vimeoId }} ?autoplay={{ if @videoStream.extra.autoplay 1 0 }} &loop={{ if @videoStream.extra.loop 1 0 }} " width =" 50%" height =" 50%" frameborder =" 0" allow =" autoplay" title =" StreamYard Live Stream" allowfullscreen =" true" ></iframe >
You can’t perform that action at this time.
0 commit comments