def play_video(self, youtube_id):
        self.launch()

        msg = {
            "type": "flingVideo",
            "data": {
                "currentTime": 0,
                "videoId": youtube_id
            }
        }

        self.send_message(msg, inc_session_id=True)
Starts playing a video in the YouTube app.
dataset/ETHPy150Open balloob/pychromecast/pychromecast/controllers/youtube.py/YouTubeController.play_video