1.1.2 • Published 5 years ago

d-video-player v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

D-Video-Player

A video player component base on Vue and iview

Demo Address

http://component.davidwong.cn/d-video-player

Build Setup

  • setup

  • import

  • use
  • params explain

attention and skills

  • every callback have two param
  • you can get the video object on callback - 'on-loadeddata', also you can use this object operate the video, for example, play() or pause()
  • but you can't use video object to set the video src directly
  • if you need to set or change the video src, you can modify props src
  • true:this.src = xxx,false:video.src = xxx;
  • you must setup iview and import iview style
  • if video'src change, it will not reset the progress bar, player would keep the current time and progress
  • if you want reset the progress bar when change video'src, you can try 'video.currentTime = 0'
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago