Preliminary code to stream a video