This simple demo detects when the video ends then jumps back to the beginning