Skip to content

Commit 6dfb5ab

Browse files
committed
Revert "feature-9082: Enhance language dropdown button (#9162)"
This reverts commit 5f989cc.
1 parent a147d7e commit 6dfb5ab

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,13 @@
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}}
2115
<iframe
2216
style="position: absolute; width: 100%; height: 100%;"
2317
id="video-player"
2418
frameborder="0"
2519
title="YouTube Live Stream"
2620
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}}
21+
gesture="media" allow="autoplay; encrypted-media" allowfullscreen="true"></iframe>
2922
{{/if}}
3023
{{#if (and (eq @videoStream.videoChannel.provider 'vimeo') this.vimeoId)}}
3124
<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)