@folklore/hooks
Advanced tools
Comparing version 0.0.50 to 0.0.51
@@ -231,4 +231,4 @@ 'use strict'; | ||
if (player !== null) { | ||
player.load(videoId, { | ||
params: playerParams | ||
player.loadContent({ | ||
video: videoId | ||
}); | ||
@@ -235,0 +235,0 @@ debug('Load video [ID: %s]', videoId); |
@@ -220,4 +220,4 @@ import raf from 'raf'; | ||
if (player !== null) { | ||
player.load(videoId, { | ||
params: playerParams | ||
player.loadContent({ | ||
video: videoId | ||
}); | ||
@@ -224,0 +224,0 @@ debug('Load video [ID: %s]', videoId); |
{ | ||
"name": "@folklore/hooks", | ||
"version": "0.0.50", | ||
"version": "0.0.51", | ||
"description": "React hooks", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "60293e0c7b0480cf8235095faa7313c5222f5f02", | ||
"gitHead": "5c1c610706d42a3f14eaf39a5e571b8fa873e713", | ||
"dependencies": { | ||
@@ -55,0 +55,0 @@ "@folklore/events": "^0.0.5", |
109786