player
This commit is contained in:
parent
a1f7684ff7
commit
8be374bcb5
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
#ascroll {
|
||||||
|
iframe.player {
|
||||||
|
width: 100%;
|
||||||
|
min-height: calc(100vh - 64px);
|
||||||
|
}
|
||||||
|
}
|
||||||
#ascroll {
|
#ascroll {
|
||||||
font-family: "noto_sans";
|
font-family: "noto_sans";
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -1,5 +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.appendChild(iframe)
|
ascroll.appendChild(iframe)
|
||||||
|
|
Loading…
Reference in a new issue