fixed build error
This commit is contained in:
@@ -13,7 +13,7 @@ export default function TReactPlayer({mediaEventsMap=handledMediaEventsMap, vide
|
||||
if(videoRef ){
|
||||
const videoNode = playerRef.current.getInternalPlayer();
|
||||
videoRef(videoNode);
|
||||
if (!videoNode.hasOwnProperty('proportionPlayed')){
|
||||
if(!Object.prototype.hasOwnProperty.call(videoNode, "proportionPlayed")){
|
||||
Object.defineProperties(videoNode, {
|
||||
'error': {
|
||||
get: function() {
|
||||
|
||||
Reference in New Issue
Block a user