![]() MCIControl.MCIPlayerControl newmc = new MCIControl.MCIPlayerControl() Int n_height = testmc.Height, n_width = testmc.Width Testmc.Size = new Size(s_width, s_height) MCIControl.MCIPlayerControl testmc = new MCIControl.MCIPlayerControl() Rectangle rect=ScreenCapture.GetClientRect( this.Handle) This.FormBorderStyle = FormBorderStyle.None This.WindowState = FormWindowState.Maximized Our MCIPlayerControl exposes the following properties To be able to playback these files, you may need to get the codec from īeside the obvious use of video wall for advertisement, we can also use it forĪ dog in high speed motion Using the code I have included some animated gif and mp4 files in the downland zip. With the video functionalities encapsulated, we do not have to worry about the intricacies of the mcisSendString command and just concentrate on making use of the control to create something fun and useful. ![]() Here we encapsulate all main functionalities of video display and playing into a simple Window Form control. In that article, we explore how to make use of mciSendString API to play video files. This article is based on ideas from my earlier article Fun with Video. In this article, we would be creating a video wall using our custom made video player control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |