njpma/app/static/js/player.js

8 lines
295 B
JavaScript
Raw Normal View History

2021-11-21 10:41:03 +00:00
var iframe = document.createElement('iframe')
2021-11-23 16:34:51 +00:00
iframe.setAttribute('allowFullScreen', '')
2021-11-21 10:41:03 +00:00
iframe.src = pandoraURL + '/edits/' + config.edit + '#embed?matchRatio=true&showInfo=true'
var ascroll = document.querySelector('#ascroll')
2021-11-21 10:46:29 +00:00
ascroll.classList.add('player')
2021-11-21 10:41:03 +00:00
ascroll.appendChild(iframe)