PDA

View Full Version : Media player to stream and play video in javascript



charles22
08-25-2011, 04:23 PM
Hi all, I need Media player to stream and play video in javascript...any help or working link will work.

My requirement is I have .wmv files but when i embed them in html pages first it gets downloaded and then it gets played.

I need them playing while they are getting downloaded.

please help, i have tried lots of codes but got no success :(

Fou-Lu
08-25-2011, 04:26 PM
Despite the similar sounding names, Java is not the same as Javascript.
Moving from Java forum to Javascript forum.

I believe you can actually get away with embedding this as an object in HTML and it will be handled by the system media player.

charles22
08-25-2011, 04:28 PM
sorry for mentioning javascript...java code will also work. i have heard java can do streaming..and media files can play as they play in youtube...means u can view movie while rest part is getting downloaded



Despite the similar sounding names, Java is not the same as Javascript.
Moving from Java forum to Javascript forum.

I believe you can actually get away with embedding this as an object in HTML and it will be handled by the system media player.