Skip to content

Commit

Permalink
fix(FEC-11119): VR (360) media doesn't work on safari browser - no vi…
Browse files Browse the repository at this point in the history
…deo displayed (#557)
  • Loading branch information
yairans committed Apr 4, 2021
1 parent e94a6ac commit 4da0a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engines/engine-decorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class EngineDecorator extends FakeEventTarget implements IEngineDecorator {
target = activeDecorator && prop in activeDecorator ? activeDecorator : obj;
}
// $FlowFixMe
return typeof target[prop].bind === 'function' ? target[prop].bind(target) : target[prop];
return target[prop] && typeof target[prop].bind === 'function' ? target[prop].bind(target) : target[prop];
},
set: (obj, prop, value) => {
const activeDecorator = this._pluginDecorators.find(decorator => prop in decorator && decorator.active);
Expand Down

0 comments on commit 4da0a2c

Please sign in to comment.