njpma/app/static/js/player.js
2021-11-21 11:46:29 +01:00

6 lines
252 B
JavaScript

var iframe = document.createElement('iframe')
iframe.src = pandoraURL + '/edits/' + config.edit + '#embed?matchRatio=true&showInfo=true'
var ascroll = document.querySelector('#ascroll')
ascroll.classList.add('player')
ascroll.appendChild(iframe)