PDA

View Full Version : Custom media player ...


newttyy
08-03-2007, 09:55 PM
Hello again ...

Does any one of you knows how to build custom media player?

I have created a design for media player and I want to use it and replace the default controls/look of the media player - for web.

The catch ... I do not want to use flash.

I would really appreciate your help on this one ... :rolleyes:

panel
08-07-2007, 03:01 PM
What do you meand you don't want to use flash? you don't wanna use flvplayback component?

CyanBlue
08-07-2007, 03:06 PM
I think he meant he really does not want to use Flash... You could use Windows Media Player instead if that is the case...

newttyy
08-07-2007, 03:29 PM
You got it right Cyan. I do not want to use Flash. I want to use something like Javascript ... if JavaScript can actually do this ...

I have designed a custom player ... and I want to replace the default look of the media player (see the mediaPlayer.jpg image) with my own design (see the player.jpg image - rought sample of one of my designs).

Is there any way (except Flash) to make this thing working? A tutorial will be helfull :).

CyanBlue
08-07-2007, 03:53 PM
I don't think you can do that with the JavaScript... You need an ActiveX control to access the audio/video capabilities in your machine and it's got to be one of those players such as Windows Media Player, Flash Player or Quicktime Player and such...

I suggest you go check out the MSDN site and do some searching for skinning the Windows Media Player... ;)

newttyy
08-07-2007, 04:06 PM
I was affraid of that ... hehe :p.

I'll try and find something on the MSDN site ... and hope and pray is easy enough (though I strongly "not think so" ... )

Thanks Cyan!

CyanBlue
08-07-2007, 04:54 PM
I've done that long long long time ago and it wasn't really a bad experience... ;)

newttyy
08-07-2007, 06:03 PM
Do you by any chance still have that sample?

If yes ... would you be willing to share it? I could use it as a template if anything ...

I've found this on the MSDN site: http://msdn2.microsoft.com/en-us/library/ms983653.aspx (see bottom of the page).

Is something ... but I feel like I need to know the variable names for each button ... and then how I would make the volume slide work?

atomic
08-07-2007, 06:40 PM
What about this one?

http://msdn2.microsoft.com/en-us/library/ms867141.aspx

newttyy
08-07-2007, 06:50 PM
I have found that topic as well ... but isn't that tutorial for skinning THE media player?

I'm trying to find a way of skinning the look of the player on a web page. Or at least an alternative way of controling the media player without using its default buttons and look.

For example, one of the things I was thinking ... I can embed the movie file on the page without any kind of default controls and then, build my skin around the media player and control it with simple simple buttons....

CyanBlue
08-07-2007, 07:13 PM
I am not allowed to post the file I've worked on... Sorry... ;)

I believe there was example that goes with controlling the behavior of the WMP by using the JavaScript that is attached to the image file... I cannot seem to find that article though... :(

Google just gave me this one which you can use...
http://wdvl.internet.com/Multimedia/Windows_Media/index4.html

newttyy
08-07-2007, 08:09 PM
You can always e-mail the sample :rolleyes: :p .

That google sample its actually bring it closer to my goal :) . Nice touch ... thanks Cyan. I'll see if I can make something out of it.

Don't forget to e-mail the sample :P (jk with lots of hope :D ).

CyanBlue
08-07-2007, 08:18 PM
Nope... Can't do that... and don't call me Cyan... That's not the right username I am using here... ;)

newttyy
08-07-2007, 08:35 PM
Sorry ... CyanBlue ...

That link gives me all I need except the volume control :). Quite cool!

Thanks a lot!!!;)

CyanBlue
08-07-2007, 08:39 PM
You're welcome... :)