Return to site

Hide controls elmedia player

broken image
broken image

Add the Play Codeĭouble-click the Play button to reveal the Code window. Select the second button and change its Text property to 'Stop'. Select the first button and change the Text property to 'Play'. For audio-only content, a visualization will appear. When the user plays a video, it will appear in the window. Select the Windows Media Player control, then change the uiMode property to 'none'. Resize the control, and then place it where you want the video window to appear. Add the Video WindowĪdd the Windows Media Player ActiveX control to a form.

broken image
broken image

The following sections describe how to create an application that plays video and uses custom play and stop buttons. To use the functionality of Windows Media Player in a C# application, first add the component to a form as described in Using the Windows Media Player Control with Microsoft Visual Studio

broken image