@cloudgeek/playcore-hls
v0.1.7
Published
Support HLS file playback via hls.js
Downloads
202
Readme
playcore-hls
A vue3-video-player plugin for HLS Decoding.
Get Started
$ npm install @cloudgeek/vue3-video-player --save
$ npm install @cloudgeek/playcore-hls --save
<template>
<div id="app">
<div class="player-container">
<vue3-video-player :core="HLSCore" src="your_file.m3u8"></vue3-video-player>
</div>
</div>
</template>
<script>
import Vue3VideoPlayer from '@cloudgeek/vue3-video-player'
import HLSCore from '@cloudgeek/playcore-hls
Vue.use(Vue3VideoPlayer)
export default {
name: 'App',
data () {
return {
HLSCore
}
}
}
</script>