player
This commit is contained in:
parent
8be374bcb5
commit
515b5c3ccd
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#ascroll {
|
#ascroll.player {
|
||||||
iframe.player {
|
iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: calc(100vh - 64px);
|
min-height: calc(100vh - 64px);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
var iframe = document.createElement('iframe')
|
var iframe = document.createElement('iframe')
|
||||||
iframe.src = pandoraURL + '/edits/' + config.edit + '#embed?matchRatio=true&showInfo=true'
|
iframe.src = pandoraURL + '/edits/' + config.edit + '#embed?matchRatio=true&showInfo=true'
|
||||||
iframe.classList.add('player')
|
|
||||||
var ascroll = document.querySelector('#ascroll')
|
var ascroll = document.querySelector('#ascroll')
|
||||||
|
ascroll.classList.add('player')
|
||||||
ascroll.appendChild(iframe)
|
ascroll.appendChild(iframe)
|
||||||
|
|
Loading…
Reference in a new issue