first attempt to make a video player with a JSON parser