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?
JenaeRubinAsked:
Who is Participating?

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

x
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.

drewha1969Commented:
You want to stream the file.

Here is a link to more information about it:
http://www.spartanicus.utvinternet.ie/streaming.htm
0
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">
            <tr><td>

                  <OBJECT id='mediaPlayer' width="600" height="488.35" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,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='http://microsoft.com/windows/mediaplayer/en/download/' 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">
                  </EMBED>
                  </OBJECT>
            </td></tr>
                  <!-- ...end embedded WindowsMedia file --> <!-- begin link to launch external media player... -->
            <tr><td align='center'> </td></tr>
            </table>
0
shaunakCommented:
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



videostreaming.html
FLVPlayer-Progressive.swf
Clear-Skin-1.swf
swfobject-modified.js
expressInstall.swf
0

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?  
0
shaunakCommented:
You can convert the videos with the help of any tool. I found:
Online : http://www.zamzar.com/
Desktop: http://cybernetnews.com/super-is-the-ultimate-video-converter/

Regarding files. Please find the attached Streaming Video.zip.xls file. Rename the extension to .zip and then extract Streaming Video.zip to get the files.



Streaming-Video.zip.xls
0
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.
0
shaunakCommented:
Put cool_video.flv in the root folder and then open videostreaming.html in your browser and your video will start streaming
0
JenaeRubinAuthor Commented:
Where do I put the other files?
0
shaunakCommented:
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:

---videostreaming.html
---FLVPlayer-Progressive.swf
---Clear-Skin-1.swf
---cool_video.flv
---Scripts/expressInstall.swf
---Scripts/swfobject-modified.js

0
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).


JunkCapture.JPG
0
shaunakCommented:
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
0
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.