Skip to content

Commit 863d80f

Browse files
authored
9027 video stream channel hidden hot fix (#9028)
* Add Paragraph field, text area * fix the bug, change layout of streamyard iframe, change guide lines on adding new channel section
1 parent 3ee3bce commit 863d80f

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

app/components/forms/events/view/videoroom-form.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
<UiPopup
252252
@tagName="i"
253253
@class="info circle icon"
254-
@content={{t 'Translation Channels used to add languages translation stream to help ...'}} />
254+
@content={{t 'Only streams are supported. Please add a streaming link here. Share or embed links of recorded sessions are not supported.'}} />
255255
</label>
256256

257257
{{#each this.translationChannels as |channel index|}}

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@
2020
{{/if}}
2121

2222
{{#if this.selectingLanguage.selectingLanguage}}
23-
{{#if this.selectingLanguage.isStreamYardVisible}}
24-
<button class="ui button" style="position:absolute;top:120px; left:650px;z-index: 2" {{on "click" this.hideStreamYard}}>Hide This</button>
25-
<div id="streamyard-iframe" style="position:absolute;top:40px; left:340px; width:100%;height:0px;position:relative;padding-bottom:56.25%;margin-bottom:20px">
26-
<iframe id="streamyard-iframe-player" src="{{this.selectingLanguage.selectingLanguage}}" width="10%" height="10%" frameborder="0" style="width:30%;height:30%;position:absolute;left:0px;top:0px;overflow:hidden;" title="Vimeo Live Stream" ></iframe>
27-
</div>
23+
<div >
24+
{{#if this.selectingLanguage.isStreamYardVisible}}
25+
<button class="ui button" style="position:absolute;top:5%; left:650px;z-index: 2" {{on "click" this.hideStreamYard}}>Hide This</button>
2826
{{/if}}
27+
<div id="streamyard-iframe" style="position:absolute;top:30%; left:431px; width:50%;height:0px;position:relative;padding-bottom:56.25%;margin-bottom:20px" class={{if this.selectingLanguage.isStreamYardVisible "visibile" "sink"}}>
28+
<iframe id="streamyard-iframe-player" src="{{this.selectingLanguage.selectingLanguage}}" width="50%" height="50%" frameborder="0" style="width:30%;height:30%;position:absolute;left:0px;top:0px;" title="Stream Yard Live Stream" ></iframe>
29+
</div>
30+
31+
</div>
2932
{{/if}}
3033
</div>
3134
<Public::Stream::SidePanel @event={{@event}} @videoStream={{@videoStream}} @selectingLanguage={{this.selectingLanguage}} @shown={{true}} @showChatPanel={{this.showChatPanel}} @setupRoomChat={{action 'setupRoomChat'}} @currentRoom={{this.currentRoom}} @streamId={{@streamId}}/>

app/styles/app.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,12 @@ body {
1717
font-size: 14px;
1818
}
1919

20+
.visibile {
21+
display: block;
22+
}
23+
24+
.sink {
25+
position: absolute;
26+
z-index: -1;
27+
}
28+

0 commit comments

Comments
 (0)