Skip to content

LarchLiu/playcore-hls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playcore-hls

npm version npm downloads

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>

example