title: Integrate Video Frame in Tkinter(python)
body: <p>I am trying to integrate the Video Frame for playing Video Files into the Tk Main window for my project at: <a href="https://github.com/amanjosan2008/Video-Collection-Manager" rel="nofollow noreferrer">github.com</a>.
  Currently it is launching native VLC Player using subprocess However I want to have an integrated window for the same.</p>
  
  <p>When I execute below code:</p>
  
  <pre><code>import vlc
  root = Tk()
  
  instance = vlc.Instance()
  player = instance.media_player_new()
  media = instance.media_new("big.mp4")
  player.set_media(media)
  player.play()
  
  canvas = Canvas(player).pack()
  root.mainloop()
  </code></pre>
  
  <p>I get this error:
      <code>AttributeError: 'MediaPlayer' object has no attribute 'tk'</code></p>
  
  <p>I tried to get inputs form this GitHub project: <a href="https://github.com/oaubert/python-vlc/blob/master/examples/tkvlc.py" rel="nofollow noreferrer">github.com</a>.
  However I was unsuccessful to get it working.</p>
  
  <p>The video currently launches in another window when I remove the Canvas related code. Please advice what is wrong with the code.</p>