Skip to content

Commit 47a50e8

Browse files
Hieu Lam - TMAnnhathungkhangonntthitrinh
authored
feature-9082: Enhance language dropdown button (#9142)
* feature-9082: Enhance language dropdown button * feature-9082: Enhance language dropdown button * fix css * fix UI * fix missing header * fix missing header * fix missing header * fix missing header * fix missing header * fix missing header * avoid using css inline * feature-9082: Fix css dropdown side panel * feature-9082: Fix css dropdown side panel * feature-9082: Fix css dropdown side panel * fix-9082 language dropdown not showing up * fix-9082 language dropdown not showing up * feature-9082: Enhance language dropdown button * feature-9082: Enhance language dropdown button --------- Co-authored-by: nnhathung <[email protected]> Co-authored-by: Khang On - TMA <[email protected]> Co-authored-by: ntthitrinh <[email protected]>
1 parent 498add5 commit 47a50e8

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,16 @@
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-
1811
{{#if (eq @videoStream.videoChannel.provider 'jitsi')}}
1912
<Public::Stream::JitsiStream @videoStream={{@videoStream}} />
2013
{{/if}}
2114
{{#if (eq this.provider 'youtube')}}
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"
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"
2421
gesture="media" allow="autoplay; encrypted-media" allowfullscreen="true"></iframe>
2522
{{/if}}
2623
{{#if (and (eq @videoStream.videoChannel.provider 'vimeo') this.vimeoId)}}

0 commit comments

Comments
 (0)