Wildhoney / ngVideo

Modularised ~13KB HTML5 audio/video implementation using Angular.js
http://ng-video.herokuapp.com/
MIT License
227 stars 60 forks source link

Player loop #48

Open bibout182 opened 7 years ago

bibout182 commented 7 years ago

Hello, I don't understand how to use this feature :

if ($scope.player.loop) { // Determine if we should keep looping the playlist. playByIndex(0); return; }

I would like to go back to the first video after the last one is finish but I don't understand how I can do that. I I put "loop" on the screen directive, it will loop only on the first video and the index never change..

Thanks for your help.