Skip to content

Commit

Permalink
Revert "feature-9082: Enhance language dropdown button (#9162)"
Browse files Browse the repository at this point in the history
This reverts commit 5f989cc.
  • Loading branch information
norbusan committed Mar 21, 2024
1 parent a147d7e commit 6dfb5ab
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions app/components/public/stream/video-stream.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,13 @@
<Public::Stream::JitsiStream @videoStream={{@videoStream}} />
{{/if}}
{{#if (eq this.provider 'youtube')}}
{{#if this.selectingLanguage.selectingLanguage}}
<iframe
style="position: absolute; width: 100%; height: 100%" id="video-player-translation" width="50%" height="50%" frameborder="0" title="YouTube Live Stream Translation"
src="https://www.youtube.com/embed/{{this.selectingLanguage.translationYoutubeId}}?enablejsapi=1&autoplay=1&modestbranding=1&loop=1&controls=0&disablekb=1"
gesture="media" allow="autoplay; encrypted-media" allowfullscreen="true"></iframe>
{{else}}
<iframe
style="position: absolute; width: 100%; height: 100%;"
id="video-player"
frameborder="0"
title="YouTube Live Stream"
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"
gesture="media" allow="autoplay; encrypted-media" allowfullscreen="true"></iframe>
{{/if}}
gesture="media" allow="autoplay; encrypted-media" allowfullscreen="true"></iframe>
{{/if}}
{{#if (and (eq @videoStream.videoChannel.provider 'vimeo') this.vimeoId)}}
<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>
Expand Down

0 comments on commit 6dfb5ab

Please sign in to comment.