Start as New Project
Install
npm i @oplayer/core @oplayer/ui
app.js
import Player from '@oplayer/core'
import ui from '@oplayer/ui'
Player.make('#oplayer', {
source: {
src: 'https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/君の名は.mp4',
poster: 'https://cdn.jsdelivr.net/gh/shiyiya/QI-ABSL@master/o/poster.png'
}
})
.use([ui()])
.create()