capacitor-youtube-player
Advanced tools
Comparing version
@@ -63,3 +63,3 @@ import { WebPlugin } from '@capacitor/core'; | ||
const player = Player(); | ||
this.players[options.playerId] = new player(options.playerId, Object.assign(Object.assign(Object.assign({}, options.playerVars), playerSize), { fullscreen: options.fullscreen, videoId: options.videoId, events: { | ||
this.players[options.playerId] = new player(options.playerId, Object.assign(Object.assign({ playerVars: options.playerVars }, playerSize), { fullscreen: options.fullscreen, videoId: options.videoId, events: { | ||
// The API will call this function when the video player is ready. | ||
@@ -66,0 +66,0 @@ 'onReady': () => { |
@@ -99,3 +99,3 @@ 'use strict'; | ||
const player = Player(); | ||
this.players[options.playerId] = new player(options.playerId, Object.assign(Object.assign(Object.assign({}, options.playerVars), playerSize), { fullscreen: options.fullscreen, videoId: options.videoId, events: { | ||
this.players[options.playerId] = new player(options.playerId, Object.assign(Object.assign({ playerVars: options.playerVars }, playerSize), { fullscreen: options.fullscreen, videoId: options.videoId, events: { | ||
// The API will call this function when the video player is ready. | ||
@@ -102,0 +102,0 @@ 'onReady': () => { |
@@ -96,3 +96,3 @@ var capacitorPlugin = (function (exports, core) { | ||
const player = Player(); | ||
this.players[options.playerId] = new player(options.playerId, Object.assign(Object.assign(Object.assign({}, options.playerVars), playerSize), { fullscreen: options.fullscreen, videoId: options.videoId, events: { | ||
this.players[options.playerId] = new player(options.playerId, Object.assign(Object.assign({ playerVars: options.playerVars }, playerSize), { fullscreen: options.fullscreen, videoId: options.videoId, events: { | ||
// The API will call this function when the video player is ready. | ||
@@ -99,0 +99,0 @@ 'onReady': () => { |
{ | ||
"name": "capacitor-youtube-player", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Capacitor Youtube Player", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
279640
-0.01%