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

Posted on 2011-10-22
Last Modified: 2012-05-12
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
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

    "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">



<br />


Question by:arshad_sahani2
    LVL 70

    Expert Comment

    by:Jason C. Levine
    AVI files don't steam on their own.  You would need to use a player file like the JW Media Player ( to do it.  

    Author Comment

    Hello jason1178,
    I solved it in a differentway, you can cose this issue,thank you for your time

    Author Comment

    I mean to say you can close this ticket
    LVL 70

    Accepted Solution

    I can't close this, that's your responsibility

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
    In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now