vue-youtube
Advanced tools
Comparing version 1.0.9 to 1.0.10
{ | ||
"name": "vue-youtube", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "A Vue.js Plugin", | ||
@@ -5,0 +5,0 @@ "author": "Antério Vieira <anteriovieira@gmail.com>>", |
@@ -54,3 +54,3 @@ import uniqid from 'uniqid' | ||
playerStateChange (e) { | ||
if (e.data && e.data !== state.UNSTARTED) { | ||
if (e.data !== null && e.data !== state.UNSTARTED) { | ||
this.$emit(this.events[this.data], e.target) | ||
@@ -93,5 +93,5 @@ } | ||
this.player.on('ready', this.playerReady) | ||
this.player.on('ready', this.playerStateChange) | ||
this.player.on('ready', this.playerError) | ||
this.player.on('onReady', this.playerReady) | ||
this.player.on('onStateChange', this.playerStateChange) | ||
this.player.on('onError', this.playerError) | ||
}, | ||
@@ -98,0 +98,0 @@ render (h) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45875