mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -05:00
Merge pull request #586 from adi2412/master
Fixed issue with video on multiplayer page modal
This commit is contained in:
commit
ec9ec83e4d
2 changed files with 9 additions and 1 deletions
|
@ -7,7 +7,7 @@ block modal-header-content
|
||||||
block modal-body-content
|
block modal-body-content
|
||||||
|
|
||||||
.multiplayer-launch-wrapper
|
.multiplayer-launch-wrapper
|
||||||
<iframe width="640" height="360" src="//www.youtube.com/embed/wfc0U74LFCk?rel=0&controls=0&modestbranding=1&showinfo=0&iv_load_policy=3&vq=hd720" frameborder="0" allowfullscreen></iframe>
|
<iframe id="multiplayer-video" width="640" height="360" src="//www.youtube.com/embed/wfc0U74LFCk?&rel=0&controls=0&modestbranding=1&showinfo=0&iv_load_policy=3&vq=hd720" frameborder="0" allowfullscreen></iframe>
|
||||||
img(src="/images/pages/home/video_border.png")
|
img(src="/images/pages/home/video_border.png")
|
||||||
|
|
||||||
h3(data-i18n="multiplayer_launch.to_battle") To Battle, Developers!
|
h3(data-i18n="multiplayer_launch.to_battle") To Battle, Developers!
|
||||||
|
|
|
@ -10,3 +10,11 @@ module.exports = class MultiplayerLaunchView extends HomeView
|
||||||
class MultiplayerLaunchModal extends ModalView
|
class MultiplayerLaunchModal extends ModalView
|
||||||
template: modalTemplate
|
template: modalTemplate
|
||||||
id: "multiplayer-launch-modal"
|
id: "multiplayer-launch-modal"
|
||||||
|
|
||||||
|
hide: ->
|
||||||
|
$('#multiplayer-video').attr('src','')
|
||||||
|
super()
|
||||||
|
|
||||||
|
onHidden: ->
|
||||||
|
$('#multiplayer-video').attr('src','')
|
||||||
|
super()
|
Loading…
Reference in a new issue