• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 144
  • Last Modified:

How to stream a video file by using object tag inside html

Respected Sir/Madam,
I am trying to embed windows media player & stream a video file
I have created the following html,& have placed my file "te.avi"  in
<tomcat_home>\web-apps\drmk\te.avi
However when I click on the play button I do not see the video,
the video file te.avi is viewable when directly played in windows media player.
Kindly let me know If Iam missing something or I need to place my file in a different folder.
Also if I set value of param Url to absolute path I am able to see the video,
However when set the Url to "http://localhost:8080/drmk/te.avi" Iam not able to view the file.
Please note "drmk" is the context root of my web application.
In case If you have additional questions kindly let me know

Thank you

<html>
<OBJECT CLASSID=
    "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="320"
    HEIGHT="256" >

<PARAM name="SRC" VALUE="http://localhost:8080/drmk/te.avi">

<PARAM name="AUTOPLAY" VALUE="true">

<PARAM name="CONTROLLER" VALUE="true">


</OBJECT>

<br />

</body>
</html>

0
arshad_sahani2
Asked:
arshad_sahani2
  • 2
  • 2
1 Solution
 
Jason C. LevineNo oneCommented:
AVI files don't steam on their own.  You would need to use a player file like the JW Media Player (longtailvideo.com) to do it.  
0
 
arshad_sahani2Author Commented:
Hello jason1178,
I solved it in a differentway, you can cose this issue,thank you for your time
0
 
arshad_sahani2Author Commented:
I mean to say you can close this ticket
0
 
Jason C. LevineNo oneCommented:
I can't close this, that's your responsibility
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now