Need code for something

Master Yoda

New Member
Messages
398
Reaction score
0
Points
0
Now I have a few videos which I'm coding into a website I'm making and what I would like to do it program it to open up on the server without the video ever touching the user's hard drive. So does anybody know the HTML code for it???

Thanks in Advance,
Master Yoda
 
Last edited:

Master Yoda

New Member
Messages
398
Reaction score
0
Points
0
Cynical said:
The video has to touch the user's harddrive, it's inevitable. Everything on the internet must be downloaded in some form in order for you to see it.

However, you can embed the object into the web page by using the <embed> tags: http://www.htmlgoodies.com/beyond/reference/article.php/3472851 <-- See that page, scroll about 1/3 of the way down.

then how do websites like Coca-Cola and WWE program it so it never is on the hard drive, or do they program it to delete it afterwards?
 

Conor

New Member
Messages
3,570
Reaction score
0
Points
0
You could embed like CYnical said. However, this will eat up your bandwidth quickly so beware!
 

Master Yoda

New Member
Messages
398
Reaction score
0
Points
0
That's OK cos I'm not coding it for my x10hosting account. It for a school website I'm working on ;)
 

dharmil

New Member
Messages
1,656
Reaction score
0
Points
0
HTML:
<embed name="RAOCXplayer" src="FILE LOCATION" autostart="true" type="application/x-mplayer2" width="XXX" height="XXX" showcontrols="1" showstatusbar="0" loop="True" enablecontextmenu="0" displaysize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></embed>
 
Last edited:

Master Yoda

New Member
Messages
398
Reaction score
0
Points
0
Ah Brilliant. Just as I was abiut to do it myself, someone has done it for me :biggrin:

Thank you very much.
 

chris218

New Member
Messages
130
Reaction score
0
Points
0
you should also use <object> and <embed> for multi browser compatability.

It depends what file type it is how you embed it really.
 
Last edited:

chris218

New Member
Messages
130
Reaction score
0
Points
0
what file format? windows media does the job for most, here is an example: it uses object and embed, incase your browser doesn't support one or the other.

Code:
                <object width="600" height="500" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id="mediaplayer1">
                <param name="Filename" value="PATH TYO MOVIE HERE">
                <param name="AutoStart" value="True">
                <param name="ShowControls" value="True">
                <param name="ShowStatusBar" value="False">
                <param name="ShowDisplay" value="False">
                <param name="AutoRewind" value="False">
                <embed
                type="application/x-mplayer2"
                pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
                width="600" height="500"
                src="PATH TO MOVIE"filename="PATH TO MOVIE" autostart="True"
                showcontrols="True" showstatusbar="False"
                showdisplay="False" autorewind="False">
                </embed>
                </object>
 

Cynical

Active Member
Messages
3,492
Reaction score
0
Points
36
Master Yoda said:
then how do websites like Coca-Cola and WWE program it so it never is on the hard drive, or do they program it to delete it afterwards?
It does go to your harddrive, usually into your browser's cache folder or a temporary folder. It is up the browser to delete it (or you).
 
Top