njpma/app/static/js/player.js

7 lines
251 B
JavaScript
Raw Normal View History

2021-11-21 10:41:03 +00:00
var iframe = document.createElement('iframe')
iframe.src = pandoraURL + '/edits/' + config.edit + '#embed?matchRatio=true&showInfo=true'
2021-11-21 10:44:48 +00:00
iframe.classList.add('player')
2021-11-21 10:41:03 +00:00
var ascroll = document.querySelector('#ascroll')
ascroll.appendChild(iframe)