Skip to content

Commit a147d7e

Browse files
committed
Revert "feature-9082: Enhance language dropdown button (#9164)"
This reverts commit 0cbe4fd.
1 parent fa36945 commit a147d7e

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

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

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,21 @@
1111
{{#if (eq @videoStream.videoChannel.provider 'jitsi')}}
1212
<Public::Stream::JitsiStream @videoStream={{@videoStream}} />
1313
{{/if}}
14-
{{#if this.selectingLanguage.selectingLanguage}}
15-
<iframe
16-
style="position: absolute;width: 50%; height: 100%; z-index: -1"
17-
id="video-player-translation"
18-
frameborder="0"
19-
title="YouTube Live Stream Translation"
20-
src="https://www.youtube.com/embed/{{this.selectingLanguage.translationYoutubeId}}?enablejsapi=1&mute=0&autoplay=1&modestbranding=1&loop=1&controls=0&disablekb=1"
21-
gesture="media" allow="autoplay; encrypted-media" allowfullscreen="true"></iframe>
22-
{{/if}}
2314
{{#if (eq this.provider 'youtube')}}
24-
<iframe
25-
style="position: absolute; width: 100%; height: 100%;"
26-
id="video-player"
27-
frameborder="0"
28-
title="YouTube Live Stream"
29-
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 this.selectingLanguage.selectingLanguage 1 0}}&controls=0&disablekb=1"
30-
gesture="media" allow="autoplay; encrypted-media" allowfullscreen="true"></iframe>
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}}
21+
<iframe
22+
style="position: absolute; width: 100%; height: 100%;"
23+
id="video-player"
24+
frameborder="0"
25+
title="YouTube Live Stream"
26+
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"
27+
gesture="media" allow="autoplay; encrypted-media" allowfullscreen="true"></iframe>
28+
{{/if}}
3129
{{/if}}
3230
{{#if (and (eq @videoStream.videoChannel.provider 'vimeo') this.vimeoId)}}
3331
<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>

0 commit comments

Comments
 (0)