Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@techassi/vue-youtube-iframe

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@techassi/vue-youtube-iframe - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

lib/vue-youtube-iframe.esm.js
// 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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc