code to load and display a video