JW Player does not repeat video

3.4k views Asked by At

JW player doesn't play video in loop (repeat video) although required Flags has been mentioned.

<script type='text/javascript'>
  jwplayer('mediaspace').setup({
    'flashplayer': 'player.swf',
    'file': 'vidflv.flv',
    'controlbar': 'bottom',
    'width': '554',
    'height': '370',
'autostart' : true,
  'autoplay' : true
  'repeat' : true

  });
</script>
2

There are 2 answers

3
emaxsaun On

It looks like you are using JW5 here.

So change:

'repeat' : true

To:

'repeat' : 'always'
0
Oleksandr Pyrozhok On

For those who are looking for loop JWPlayer without extra requests or tracking (Advertisement modes), I found that you can manually add loop attribute to the video element. In this case, it should work like HTML looped video, but JWPlayer functionality is working well