njpma/app/static/js/player.js
2021-11-21 11:41:03 +01:00

5 lines
220 B
JavaScript

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