maestro-react-player
Advanced tools
Comparing version 1.2.14 to 1.2.15
@@ -150,3 +150,4 @@ 'use strict'; | ||
onError = _props.onError, | ||
playsinline = _props.playsinline; | ||
playsinline = _props.playsinline, | ||
videoElementId = _props.videoElementId; | ||
@@ -160,2 +161,4 @@ this.player.addEventListener('canplay', onReady); | ||
this.player.addEventListener('volumechange', onVolumeChange); | ||
// wow | ||
this.player.setAttribute('id', videoElementId); | ||
if (playsinline) { | ||
@@ -162,0 +165,0 @@ this.player.setAttribute('playsinline', ''); |
{ | ||
"name": "maestro-react-player", | ||
"version": "1.2.14", | ||
"version": "1.2.15", | ||
"description": "A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion", | ||
@@ -5,0 +5,0 @@ "main": "lib/ReactPlayer.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3847314
60
5683