|
-
Feb 17th, 2017, 12:01 PM
#1
Thread Starter
Lively Member
Seeking Media Player
Hi Dear friends
I want to make a time Seekbar with a "Slider" or "HScroll" for my sound player. How can I code it. I used "Windowsmediaplayer1" but I want to hide its control and make my own controls. I want to make this look at picture below:
-
Feb 17th, 2017, 03:35 PM
#2
Re: Seeking Media Player
It'd be relatively easy with vbRichClient5 - but before I put an example together,
you'd have to tell me, whether you want to introduce this dependency (your App
would become about 2.5MB larger, when you ship it).
Olaf
-
Feb 17th, 2017, 03:50 PM
#3
Re: Seeking Media Player
That is a pretty wide open request.
What part are you needing help with...
Hiding Windowsmediaplayer1's controls?
Controlling Windowsmediaplayer1 position with your control?
Getting state information from the player, e.g. Media Duration, Current Position, etc...
Making the Control GUI look like your image?
One thing I notice about the image you provided is that the "Slider" looks like it indicates two things, i.e. the current position of the playback, and a "downloaded" progress indication.
I've only played local content so have never had to consider a media download progress indication. I don't even know if that is part of the Windows MediaPlayer state data, but perhaps it is.
I believe you'll need to be more specific about what you need help with.
If you want to know how to code the whole project then I think that is beyond the scope of the help the forum is expected to supply.
Last edited by passel; Feb 18th, 2017 at 06:36 PM.
-
Feb 18th, 2017, 04:25 AM
#4
Thread Starter
Lively Member
Re: Seeking Media Player
I need this "HScroll1" to move while I push "Play Button"
1-Is My Mediaplayer Controls
2-Is HScroll1, which i need to code !
something like this but it does not work in my project.
----------------------------
HScroll1.Value = WindowsMediaPlayer1.Controls.currentPosition
And
HScroll1.Max = WindowsMediaPlayer1.currentMedia.duration
----------------------------------------------------------------
I don't know how and where can I put this lines of code, These are ture (correct) Or Not
--------------------------------------------------------
-
Feb 18th, 2017, 09:24 AM
#5
Frenzied Member
Re: Seeking Media Player
You can use MCI or directshow. PSC has lots of samples.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|