Using AxWindowsMediaPlayer To Play A Short Video?

Sep 1, 2011

I 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 Replies


ADVERTISEMENT

Axwindowsmediaplayer Play/Pause In If Statement?

Mar 22, 2012

I 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'..

View 2 Replies

VS 2008 - Axwindowsmediaplayer Repeat Or Play?

Dec 2, 2009

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 Replies

Get The Video To Finish Playing In AxWindowsMediaPlayer?

Mar 11, 2011

How 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 Replies

VS 2008 AxWindowsMediaPlayer Video Scaling?

Mar 31, 2011

I 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 Replies

AxWindowsMediaPlayer Auto Play Next Song From Playlist

Feb 27, 2011

AxWindowsMediaPlayer auto play next song from playlist

View 1 Replies

AxWMPLib.AxWindowsMediaPlayer To Play Wmv Files Within Application

Feb 27, 2010

I'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 Replies

It Open A Bunch Of Tabs That All Go To A Link With A Video, And Then Have It Automatically Play That Video?

Jul 7, 2009

I 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 Replies

AxWindowsMediaPlayer - Current Position And Play Time Difference?

Jan 10, 2012

I'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.

View 1 Replies

Press The PLAY Button On The AxWindowsMediaPlayer It Plays Content From Listbox?

Dec 2, 2009

this is my first post, and i thought the best people to help me out are you MSDN forum users.

View 2 Replies

Can Play A SWF Video But Not A Flash Video?

Jan 23, 2008

can play a SWF video but not a Flash Video?

View 14 Replies

Play Video With MCI

Dec 8, 2009

does 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

View 2 Replies

How To Play Video Clip

Jan 26, 2010

i just wanna ask how to play a video clip using .net

View 2 Replies

Play A Video With Controls?

May 1, 2009

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..

View 2 Replies

Play Video In DirectX (WPF)?

Apr 9, 2011

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?

View 1 Replies

Play Video In Vlc Player?

Nov 1, 2010

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 Replies

Play Video On VB 6 But No Success

Feb 1, 2011

I'm trying to play video on Visual Basic 6 but no success.

View 2 Replies

Randomly Play A Video Cli?

Jun 11, 2010

I 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 Replies

Specifying Which Monitor For Video To Play On?

Jan 14, 2010

I 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 Replies

.net - Play Video From A Byte Array?

Sep 24, 2011

I 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 Replies

Forms :: Play A Video On Form?

Nov 2, 2009

Does anyone know how to play a video on a windows form in a window like using a picturebox with a JPG?

View 4 Replies

How Do I Play Audio/video Files

Apr 10, 2009

How do I play audio/video files in VB.NET?

remember to mark the replies as answers.

View 1 Replies

Interface And Graphics :: Play Video In VB

Jan 18, 2010

Anybody have some resources on how to play video in Visual Basic. net

View 1 Replies

Pause While One Video Is Playing, And Later Play A Second One?

Mar 18, 2011

I'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 Replies

Play A Video As A Splash Screen?

May 10, 2011

I 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 Replies

Play A Video Clip In Program?

Feb 9, 2011

can i play a video clip in my program?

View 9 Replies

Play A Video On Background Of Form?

Feb 15, 2012

how to play a video on the background of the form please guide i am really confused

View 7 Replies

Play A Video On Form Start Up?

Nov 4, 2011

when 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]....

View 7 Replies

Play A Video WITH CONTROLS In Program?

May 3, 2009

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.

View 2 Replies

Play Video From Memory Stream?

May 5, 2010

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.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved