From a28d9e0d8cf02473e708c5690a92d9f8487465be Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Tue, 12 Dec 2017 09:19:59 +0000 Subject: [PATCH] Add correct loop config to streamable player --- src/players/Streamable.js | 1 + 1 file changed, 1 insertion(+) 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)