عکس meyt
Lightweight HTML5 video and audio player component for vuejsVue
موضوع‌ها
۱
فورک‌ها
۴
ستاره‌ها
۱۴
تاریخ ایجاد
۵ مرداد ۱۳۹۸
آخرین بروزرسانی
حدود ۱ ماه قبل
لایسنس
MIT License

vue-md-player

Build Status

Lightweight HTML5 video and audio player component for vuejs.

Demo

Screenshots

Video Player

video player

Audio Player

audio player

Install

npm install --save vue-md-player

Usage:

<template lang="pug">
  div
    audio-player
      source(src="http://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_1MG.mp3")
    video-player
      source(src="https://sample-videos.com/video123/mp4/240/big_buck_bunny_240p_10mb.mp4" type="video/mp4")
</template>

<script>
import { audioPlayer, videoPlayer } from 'vue-md-player'
import 'vue-md-player/dist/vue-md-player.css'
export default {
  components: {
    audioPlayer,
    videoPlayer
  }
}
</script>