This commit is contained in:
j 2021-11-21 11:46:29 +01:00
parent 8be374bcb5
commit 515b5c3ccd
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
#ascroll { #ascroll.player {
iframe.player { iframe {
width: 100%; width: 100%;
min-height: calc(100vh - 64px); min-height: calc(100vh - 64px);
} }

View file

@ -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)