File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-video-player" ,
3
- "version" : " 3.0.9 " ,
3
+ "version" : " 3.1.0 " ,
4
4
"description" : " Video Player component for Vue2" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const videojs = window.videojs = require('video.js')
4
4
var videoPlayer = {
5
5
install : function ( Vue ) {
6
6
Vue . directive ( 'video-player' , {
7
- bind : function ( el , binding , vnode ) {
7
+ bind : function ( el , binding , vnode ) {
8
8
if ( ! el . children . length ) {
9
9
var video = document . createElement ( 'video' )
10
10
video . className = 'video-js vjs-custom-skin'
@@ -89,8 +89,8 @@ var videoPlayer = {
89
89
90
90
this . on ( 'loadeddata' , function ( ) {
91
91
this . muted ( options . muted )
92
- if ( ! ! videoOptions . start ) {
93
- this . currentTime ( videoOptions . start )
92
+ if ( ! ! options . start ) {
93
+ this . currentTime ( options . start )
94
94
}
95
95
emitPlayerState ( 'loadeddata' , true )
96
96
} )
You can’t perform that action at this time.
0 commit comments