Bug 1047168 - Modify test_play_youtube to play a video file locally

Can we wait for a element here instead of using sleep?