Using AxWindowsMediaPlayer To Play A Short Video?
Sep 1, 2011I have a form using AxWindowsMediaPlayer to play a short video. How can I load another form and close this form when the video is finished?
View 6 RepliesI have a form using AxWindowsMediaPlayer to play a short video. How can I load another form and close this form when the video is finished?
View 6 RepliesI am making a media player and I have a button where I want the text to change depending whether the media player is playing or paused. So far I have this:
If (AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsPlaying) Then Then
Button3.Text = "Pause"
ElseIf (AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsPaused) Then
Button3.Text = "Play"
End If
The problem is, is that i get an error under WMPLib.WMPPlayState on both lines. The error says 'WMPPlayState' is ambiguous in the namespace 'WMPLib'..
I am using Windows Media Player component in vb2008 and I was wondering if there is a way to make it repeat? or if I can just make it play every 51 seconds (which is how long the song is) I tried Axwindowsmediaplayer1.play and .repeat, But neither of those are functions, So I'm not sure what I would have to use.
View 2 RepliesHow do I get the video to finish playing in AxWindowsMediaPlayer before it loads another form? It keeps showing the next form briefly before the video starts.
View 2 RepliesI have a axwindowsmediaplayer object in my form which plays a video on load, but unfortunately the video seems too small and there is a massive black border around the video, is there anyway I can stretch the video to fill the whole player window?
View 1 RepliesAxWindowsMediaPlayer auto play next song from playlist
View 1 RepliesI'm using AxWMPLib.AxWindowsMediaPlayer to play wmv files within my application. I provide an encrypted wmv file, which will not play on windows media player and within my application load it into an array, decrypt it and save it as a normal wmv file, which can then be played in the normal way by windows media player.However, I want to avoid saving the decrypted file to disk as this could then be copied by the user. Is there a way to play the media from within my application without first saving the file to disk? IE directly from the byte array?
View 1 RepliesI was wondering if it was possible to have a program open Firefox, and have it open a bunch of tabs that all go to a link with a video, and then have it automatically play that video?
View 4 RepliesI'm using VB 2010 Express with two instance of AxWindowsMediaPlayer in order to sync two videos (the videos are of the same thing but from two camera angles). Because the videos were started at slightly different times I've manually set the start time of each one using the following
AxWindowsMediaPlayer1.Ctlcontrols.currentPosition = 314.5093196
AxWindowsMediaPlayer2.Ctlcontrols.currentPosition = 237.1639908
The problem I'm having is that whilst the WMP clock initially displays the above times in each AxWindowsMediaPlayer, when I play the videos each starts a few seconds out from the stated currentPositions.
The video files are around 300MB each and when testing with smaller video files the problem does not seem to happen. I'm guessing the large file size is causing some delay and hence causing the problem.
this is my first post, and i thought the best people to help me out are you MSDN forum users.
View 2 Repliescan play a SWF video but not a Flash Video?
View 14 Repliesdoes someone knows how to play video like avi files with the MCI in specific form in .net.
i want to play the video in my win form application in specific form for example open form called f_Video and play the avi file in that form
i just wanna ask how to play a video clip using .net
View 2 RepliesI have played .swf file in VB.Net using Shockwave Flash Object. But i need it with controls(mute,volume control.. )
I tried with using Windows MediaPlayer, i can play only .mp3 cannot play .swf or .avi..
I have a WPF 4/VB.net project, and I'm trying to play video in it. I've been using a mediaelement, much to the chagrin of the program's overall performance. Thus, I'm looking into the only other viable alternative that I can find for my project...directx.
Which brings me to my question. Is it possible to play video (either Theora [.ogv] or Flash Video [.flv]) in DirectX?
how to start a video on vlc player embedded in a form?I add the VideoLAN VLC ActiveX Plugin v1 and v2 to toolbox, and place both to my form.What is the code to start a video playing on VLC embedded to forms?
View 2 RepliesI'm trying to play video on Visual Basic 6 but no success.
View 2 RepliesI want to randomly play a video clip "possible different format" on a continues loop. Can I get how long the video will run or when the video has finished so the program knows when to select the next video.
View 4 RepliesI have an application I am working on and have a projector connected and working as the second monitor.I would like to setup my application to play, in fullscreen mode (using Windows Media Player) on the second monitor.I would like the application to then close WMP after the end of the one minute video clip? I am using Visual Basic 2008.
View 1 RepliesI am using visual basic .NET and I want to play a video from a byte array that I have, but without saving it first at the disk. Directly from that array. I tried the directshow lib for a while but didn't managed to find a way to play it. WMP didn't worked either.
View 1 RepliesDoes anyone know how to play a video on a windows form in a window like using a picturebox with a JPG?
View 4 RepliesHow do I play audio/video files in VB.NET?
remember to mark the replies as answers.
Anybody have some resources on how to play video in Visual Basic. net
View 1 RepliesI'm playing videos in a form with an embedded media player, I want to play one, and later another one, how I can programm a pause for the first video to play, and later to play a second one. system.thread seems is not the solution for me.
View 4 RepliesI have a splash screen set as Form9. When Form9 loads, I want it to play a video automatically. I have the video in MPEG format. I'm just not sure what tool to use, and what code would go with it.
View 3 Repliescan i play a video clip in my program?
View 9 Replieshow to play a video on the background of the form please guide i am really confused
View 7 Replieswhen form Loads i want a video to play in a picture box or panel how do i do that? This is what i have so far.
Imports Microsoft.DirectX.AudioVideoPlayback
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]....
I have played .swf file in VB.Net using Shockwave Flash Object. But i need it with controls(mute,volume control.. )
I tried with using Windows MediaPlayer, i can play only .mp3 cannot play .swf or .avi.
I have an application that sends Bytes of data through UDP, these bytes are read from an AVI file when the client receives the bytes it builds the AVI file on another computer perfectly but I want to be able to use the received bytes to play the video from the stream. Does anyone know how I can play the video from a stream? I tried using DirectShow but I don't know how to use a stream as video let alone having AVI files play with DirectShow.
My main goal is to have the application slowly "buffer" the movie for the client as they watch.