title: Unable to play videos in wxWidgets sample Media player?
body: <p>I am using wxWidgets samples code for media player. Here first we need to select the file from the wxFileDialog and on clicking play button it will play the video.</p>
  <p>But I don't want to select the file from the wxFileDialog, I am passing the video path in <code>DoOpenFile(path, bNewPage);</code> and then clicking on play button then the video is not playing.</p>
  <pre><code>void wxMediaPlayerFrame::OnPlay(wxCommandEvent&amp; WXUNUSED(event))
  {
      DoOpenFile(_(&quot;D:\\myvideo.mp4&quot;), false);
      wxMediaPlayerNotebookPage* currentpage = (wxMediaPlayerNotebookPage*)m_notebook-&gt;GetCurrentPage();
  
   ....
   ....
   ....
  }
  </code></pre>