diff --git a/src/players/Streamable.js b/src/players/Streamable.js index f7c62e42..15925c3f 100644 --- a/src/players/Streamable.js +++ b/src/players/Streamable.js @@ -18,6 +18,7 @@ export default class Streamable extends Component { getSDK(SDK_URL, SDK_GLOBAL).then(playerjs => { if (!this.iframe) return this.player = new playerjs.Player(this.iframe) + this.player.setLoop(this.props.loop) this.player.on('ready', this.props.onReady) this.player.on('play', this.props.onPlay) this.player.on('pause', this.props.onPause)