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?
 
shaunakConnect With a Mentor Commented:
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
 
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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.