test for looping a video in canvas