how do I upload a .wmv file that plays from my server without it downloading (or being downloadable) to viewers?

How do I upload a .wmv file to my server that plays from my server without it downloading (or being downloadable) to site viewers?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You want to stream the file.

Here is a link to more information about it:
JenaeRubinAuthor Commented:
This is where I landed...  My current coding does stream the video in IE ... but... I get a blank space above the tool bar when autoStart is set to false which I don't like... I'd rather it have a black box so people know to scroll down.  The other BIG problem is that this doesn't work in other browsers (Firefox, Safari... don't know about Bing).  Here's the code.  Thanks for helping!

            <!-- begin embedded WindowsMedia file... -->
            <table border='0' cellpadding='0' align="center">

                  <OBJECT id='mediaPlayer' width="600" height="488.35" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase=',1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
                  <param name='fileName' value="audio/junktest2.wmv">
                  <param name='animationatStart' value='true'>
                  <param name='transparentatStart' value='true'>
                  <param name='autoStart' value="false">
                  <param name='showControls' value="true">
                  <param name='loop' value="true">

                  <EMBED type='application/x-mplayer2' pluginspage='' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' bgcolor='darkblue' showcontrols="true" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="704" height="573" src="content/Video/cool_video.wmv" autostart="true" designtimesp='5311' loop="true">
                  <!-- ...end embedded WindowsMedia file --> <!-- begin link to launch external media player... -->
            <tr><td align='center'> </td></tr>
The better option is to convert the wmv to flv and then stream it. See the attached files. Put expressInstall.swf and swfobject_modified.js inside Scripts/ folder. Assuming that your video name is cool_video.flv


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The Five Tenets of the Most Secure Backup

Data loss can hit a business in any number of ways. In reality, companies should expect to lose data at some point. The challenge is having a plan to recover from such an event.

JenaeRubinAuthor Commented:
I cannot open the files you attached.  How do I convert wmv to flv?  
You can convert the videos with the help of any tool. I found:
Online :

Regarding files. Please find the attached Streaming file. Rename the extension to .zip and then extract Streaming to get the files.
JenaeRubinAuthor Commented:
Other than putting the .js file in a scripts folder, I don't understand what to do with the other files.  I put them in the root folder.  Now what?  Thanks.
Put cool_video.flv in the root folder and then open videostreaming.html in your browser and your video will start streaming
JenaeRubinAuthor Commented:
Where do I put the other files?
All files in root folder except expressInstall.swf and swfobject_modified.js. Put expressInstall.swf and swfobject_modified.js  inside Scripts/ folder

So your directory structure should look like this:


JenaeRubinAuthor Commented:
I saved and renamed an .flv file as cool_video.flv and placed it in the root directory of the folder with all the web/html files. Everything is set up EXACTLY as you indicated above.  However, the html file only shows a page saying you need to upload Adbove (screen shot attached).

Yes. That is because your browser doesnt have the updated flash plugin. Click on the button and express installer will update it and then after that your video will start steaming instead of downloading
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.