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://oplayer.vercel.app/君の名は.mp4',
poster: 'https://oplayer.vercel.app/poster.png'
}
})
.use([ui()])
.create()
💡
`@Oplayer/ui provides a basic set of skin styles.