VS 2010 Windows Media Control - Play The Second Intro Video
Feb 4, 2011
I'm kinda new to this. Done it a bit a while back, completed a simple conversation program, and started a text game..but decided to take it back up and make a new interaction fiction game with videos.. the thing I'm having a problem with right now is the windows media player control. I make my first intro movie play by placing it's location in the URL property...I'm wondering how you would code it to play the second intro video I have once that one comes to an end.. I may just put the two videos together to make this easier.
I'm using the windows media player (wmp.dll) in vb.net 2008 and would like to know if it's possible to play a specific portion of the video. For example, I would like to start to play the video X minutes from the start and for Y amount of time.
I'm using the windows media player (wmp.dll) in vb.net 2008 and would like to know if it's possible to play a specific portion of the video. For example, I would like to start to play the video X minutes from the start and for Y amount of time.
So I found the Windows Media player and added it on my form. I have a sample wmv called bear.wmv file in my solution explorer. How do I get the video to play? I was hoping for a smart tag and just connect the player to the wmv file,
I'm trying to run a video in a windows media control, like I had before, but for some reason it's not working. I'm not sure why either. As far as I can see I'm doing everything the same as I had for the first video..
I get an unhandled exception when I use a windows media player control on the form in order to play a movie file.It only happens when I run the program. But in debug, the error does not occur. What do I do?
how to play video or audio in a vb.net application but have come up with not a lot.
I want to create a program that accessing a web server (no problem on that) and will pick up audio and video that is stored on that server.
Or, maybe do a live broadcast where I can play my guitar and sing a song. (Promise if I get this done through here I will give you a live performance) on that note I am sure you will all hold back.
This is a little open and wide, but what I would like to know via a webserver is this possible
I'm having trouble working with VB.Net 2010, I'm trying to have a Windows Media Player video play, and once it ends I want it to go to a new task. But I cannot figure out how to get it to get to that new task in the event that the video ends.
I'm going to build a video player in vb.net, but during the development I've met some complications.
1) The windows media player ocx takes a long time to play the first video, I think for a problem of initialization 2) The window media player ocx doesn't play flv files
The alternative or possible solutions. 1) insert flv codec into the project for window media player ocx, but how? 2) use the flv component, but I don't know with precision what is the right code to use to play video files with the vlc component and sometimes during the dispose of the vlc instance, the system give me a blue screen.....
I know that there are two wrappers for the vlc componet the libvlcnet and the VideoLan DotNet for WinForm and WPF, but i don't find any example on how ti implement and use them in vb.net. Use the ffmpeg video conversion engine for window media player, but how can I implement ffmpeg in vb.net, is there any wrapper or activex for ffmpeg open source?
Is there a way that I can play MP3 files in my program without using the Windows Media Player codec that still allows to play/pause and stop the music?
how can I play a MP3 file without using Windows Media Player or Direct Sound? I cant use DirectX even if I wanted to! Is there any other way? I could not use DirectX because I could not install the DirectX Software Development Kit on a 64 bit system!
I have looked all over the internet to find specifically what the title says and i cant find anything that will work and is what i want, it's mostly all vb6. so even more specifically i am creating a program that captures screenshots of the "axwindowsmediaplayer" control at what ever frame or part of the video it's on. i also noticed that there is a command in the little menu when you type in "axwindowsmediaplayer.capture" i don't know how to use it?
this is probably pretty simple, but I've noticed that when trying to start the Windows Media Player (AxWMPLib), it takes the "player.url = path", and only then does the player's Play-button get activated. Thing is, I want to play sound files taken from the URL of a column in a database. And when clicking on that row, the mediaplayer should update, making it's play-button clickable.
I have a VB.NET application that uses the AXWindowMediaPlayer ActiveX to embed mpg videos to my application. I have used the Play/pause/stop Ctlcontrols a lot but now i am stuck as i needed to change the video size of the playing video from 100 to 200% hence my Questions:- How can i by code change the video size of the video being played? by Video size i do not mean the control's size.. but the Video being played inside it. for example, i could want the videos to play at 200% and not at 100%.- Is there a way to check the dimensions of the video being played so that i can by code change the video size if required as per the video.
How would I make the Windows Media Player element in visual basic play the next song after the current one is done. I know you can do it with a playlist but how would I do it with out any kind of list boxes or stuff like that. To browse for the files i use a open file dialog.
I am actually designing a simple media player. Here are all the buttons I have 1)play 2)pause 3)stop 4)next track 5)previous track 6)fast forward 7)fast rewind 8)repeat playlist
Public Class Form1 Dim myarray(100) As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WMP.uiMode = "NONE" [Code] .....
In all of these only play, stop and pause work everything else isn't working. tried lot of codes and even forms nothing works ..
One of the things my VB.NET program does is play video files using the Windows Media Player component that comes with VB. My program also switches the WMP component to full screen but once in a while the form will be on top of the full screen video. I am hoping that you fine and knowledgeable folks cat this from happening. The problem occurs when the next video file is played automatically. I'll do my best to post a bit of code but since I don't have much of an idea what might be causing this I'll just have to guess. The project has gotten quite large over the years I've been writing it and if any more code ito post any or all of it, though I'm sure no one would like to go through all 1771 lines of it.
Private Sub WMP_PlayStateChange(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles WMP.PlayStateChange If Stopping = True Then
Im trying to open media player (full screen) and play a movie. When i create the file path like so: Dim MoviePathVTS As String = String.Concat("""" + tempMoviePath, " \VIDEO_TS\VTS_01_1.VOB" + """")
It wont play the file but if i do it like this: Dim video1 = """F:\Movies\DvD\Angels and Deamons\VIDEO_TS\VTS_01_1.VOB"""
It plays fine? the file paths are the same including the extra "" but it just refuses to play. I need the top one because i have many movies in a treeview.
Heres my code
Private Sub watchNow_Click(ByVal sender As Object, ByVal e As EventArgs)
'get the position of the selected node Dim i = movieTreeView.SelectedNode.Index
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?
It's usual to see hoe to build a player with the AxWindowsMediaPlayer.
But in this occasion, I'm interested in control de Windows Media Player from Windows 7 with my own application.For example, I want to create a button that is able to pause or play the video that I'm watching with the WMP.