Disable Windows Media Player video autoplay while opening XLSM file
<p>I'm trying to embed mp4 videos in my XLSM file, and assign the task to some buttons to play the file when needed.</p>

<pre><code>Private Sub CommandButton2_Click()
WindowsMediaPlayer1.URL = ThisWorkbook.Path &amp; "\video\" &amp; "video1.mp4"
Application.Wait (Now + TimeValue("0:00:02"))
WindowsMediaPlayer1.Controls.Play
End Sub
</code></pre>

<p>How to stop media files from autoplay when opening the XLSM file?</p>