mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-16 04:14:58 +02:00
Update audio player to player ui and separate out components
This commit is contained in:
parent
792268f5ee
commit
d37b25a6f6
6 changed files with 296 additions and 169 deletions
|
@ -29,8 +29,11 @@ export default class LocalVideoPlayer extends EventEmitter {
|
|||
var videoEl = document.createElement('video')
|
||||
videoEl.id = 'video-player'
|
||||
// videoEl.style.display = 'none'
|
||||
videoEl.className = 'absolute bottom-20 left-4 w-96 bg-black z-50'
|
||||
videoEl.className = 'absolute bg-black z-50'
|
||||
videoEl.style.height = '216px'
|
||||
videoEl.style.width = '384px'
|
||||
videoEl.style.bottom = '80px'
|
||||
videoEl.style.left = '16px'
|
||||
document.body.appendChild(videoEl)
|
||||
this.player = videoEl
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue