1.0.9 • Published 2 years ago
vue-h5s-player v1.0.9
vue-h5s-player
Project setup
yarn install
Compiles and hot-reloads for development
yarn serve
Compiles and minifies for production
yarn build
Lints and fixes files
yarn lint
Customize configuration
Examples
main.js
// 导入组件库
import VueH5sPlayer from 'vue-h5s-player'
// 注册组件库
Vue.use(VueH5sPlayer)
examples.vue
<template>
<vue-h5s-player videoId="111" token="111" host="192.168.1.101:33000"/>
</template>
<script>
export default {
name: 'examples'
}
</script>
<style scoped>
</style>