Skip to content

Commit 940cb42

Browse files
committed
Revert "feature-9082: Enhance language dropdown button (#9142)"
This reverts commit 47a50e8.
1 parent 6dfb5ab commit 940cb42

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

app/components/public/stream/video-stream.hbs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@
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)}}

0 commit comments

Comments
 (0)