@techassi/vue-youtube-iframe
Advanced tools
Comparing version 1.0.1 to 1.0.2
// Copyright © 2020-present Techassi | ||
// Use of this source code is governed by a MIT-style | ||
// license that can be found in the LICENSE file. | ||
// vue-youtube-iframe 1.0.0 | ||
// vue-youtube-iframe 1.0.1 | ||
import { h, nextTick } from 'vue'; | ||
@@ -96,5 +96,11 @@ | ||
const p = event.target; | ||
if (playerParameters.autoplay === 1) { | ||
if ( | ||
playerParameters.autoplay !== 'undefined' && | ||
playerParameters.autoplay === 1 | ||
) { | ||
p.mute(); | ||
if (playerParameters?.start !== 0) { | ||
if ( | ||
playerParameters.start !== 'undefined' && | ||
playerParameters.start !== 0 | ||
) { | ||
p.seekTo(playerParameters.start); | ||
@@ -101,0 +107,0 @@ } else { |
// Copyright © 2020-present Techassi | ||
// Use of this source code is governed by a MIT-style | ||
// license that can be found in the LICENSE file. | ||
// vue-youtube-iframe 1.0.0 | ||
// vue-youtube-iframe 1.0.1 | ||
(function (global, factory) { | ||
@@ -100,5 +100,11 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) : | ||
const p = event.target; | ||
if (playerParameters.autoplay === 1) { | ||
if ( | ||
playerParameters.autoplay !== 'undefined' && | ||
playerParameters.autoplay === 1 | ||
) { | ||
p.mute(); | ||
if (playerParameters?.start !== 0) { | ||
if ( | ||
playerParameters.start !== 'undefined' && | ||
playerParameters.start !== 0 | ||
) { | ||
p.seekTo(playerParameters.start); | ||
@@ -105,0 +111,0 @@ } else { |
{ | ||
"name": "@techassi/vue-youtube-iframe", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "This plugin makes it easy to integrate the YouTube Iframe API into your Vue app. This plugin is Vue V3 compatible.", | ||
@@ -5,0 +5,0 @@ "main": "lib/vue-youtube-iframe.umd.js", |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
13200
278