player view

This commit is contained in:
j 2021-11-21 11:41:03 +01:00
commit a1f7684ff7
3 changed files with 12 additions and 3 deletions

5
app/static/js/player.js Normal file
View file

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