@folklore/hooks 0.0.50 → 0.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs.js CHANGED
@@ -228,8 +228,8 @@ function useDailymotionPlayer() {
228
228
  };
229
229
  let player = currentPlayer;
230
230
  if (player !== null) {
231
- player.load(videoId, {
232
- params: playerParams
231
+ player.loadContent({
232
+ video: videoId
233
233
  });
234
234
  debug('Load video [ID: %s]', videoId);
235
235
  } else {
package/dist/es.js CHANGED
@@ -217,8 +217,8 @@ function useDailymotionPlayer() {
217
217
  };
218
218
  let player = currentPlayer;
219
219
  if (player !== null) {
220
- player.load(videoId, {
221
- params: playerParams
220
+ player.loadContent({
221
+ video: videoId
222
222
  });
223
223
  debug('Load video [ID: %s]', videoId);
224
224
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@folklore/hooks",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "description": "React hooks",
5
5
  "keywords": [
6
6
  "javascript",
@@ -49,7 +49,7 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "60293e0c7b0480cf8235095faa7313c5222f5f02",
52
+ "gitHead": "5c1c610706d42a3f14eaf39a5e571b8fa873e713",
53
53
  "dependencies": {
54
54
  "@folklore/events": "^0.0.5",
55
55
  "@folklore/services": "^0.1.40",