title: Play mp4 files in python
body: <p>I have 2 mp4 clips I would like to play in a window with Python.
  I want the first clip to be played and then at some point to switch to the second clip in the middle of the first one (when a function is called).</p>
  
  <p>It supposed to look like this</p>
  
  <pre><code>play_first_clip():
     pass
  
  play_second_clip():
     pass
  </code></pre>
  
  <p>For example when the first clip is played and then <code>play_second_clip()</code> is called, the window will switch to the second clip even if the first one is not done yet.</p>
  
  <p>I tried to do that with <code>Pymovie</code></p>
  
  <pre><code>first = VideoFileClip('first')
  first.preview()
  second = VideoFileClip('second')
  second.preview()
  </code></pre>
  
  <p>But this of course will play the second video after the first one is finished.
  Any suggestions? </p>