Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to let my visitors to watch my video directly at my web page. How would I do this?

share|improve this question

2 Answers 2

On this page I found the following code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
       codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
       width="480" height="360">
<param name="flashvars" value="YOUR_FILE.FLV&YOUR_FILE.JPG" />
<param name="movie" value="YOUR_FILE.SWF" />
<embed src="YOUR_FILE.SWF" width="480" height="360"
       type="application/x-shockwave-flash"
       pluginspage="http://www.macromedia.com/go/getflashplayer"
       flashvars="YOUR_FILE.FLV&image=YOUR_FILE.JPG" />
</object>

Obviously replace YOUR_FILE.FLV, YOUR_FILE.JPG and YOUR_FILE.SWF with the URLs of your video and placeholder jpg.

You'll find asking this sort of question on Stackoverflow will get you a quicker and better response.

share|improve this answer
    
+1, for Stackoverflow: also check stackoverflow.com/questions/43992/… –  nik Sep 13 '09 at 17:23

We know FLV can not be played directly in the web page. It must be embed into a player. Here the player indicates the SWF files. With the player, you can start playing video, pause the video playback, play the video with full screen or adjust the volume.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.