fix unsafe looping
update video.js version