implemented non-stop-play using popcornjs library