Skip to content

Commit

Permalink
Add correct loop config to streamable player
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Dec 12, 2017
1 parent c881e37 commit a28d9e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/players/Streamable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a28d9e0

Please sign in to comment.