Helping ordinary people create extraordinary websites!

Go Back   Web Development Forum > Website Designing > HTML/CSS
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-19-2009, 07:06 AM
Junior Member
 
Join Date: Jun 2009
Posts: 1
Default Html

How can I insert a movie into a HTML document?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-16-2009, 02:22 AM
Junior Member
 
Join Date: Jun 2009
Posts: 20
Default

Totally use Anchor tag and images add your movies.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-03-2009, 07:56 AM
Junior Member
 
Join Date: Oct 2008
Posts: 4
Default

Below we have two different examples of movie files, the first and second example are of an avi movie file. These files are often used with Windows computers and this below basic example is a great basic example for users wanting to play. In addition to the below avi file the user could substitute the file for a .asf, .avi, .ram, or .ra files. Finally, the third example is how a user would implement an embedded Apple QuickTime movie into a web page.

Example 1 code:
<embed src="movie.avi"></embed>

Example 2 code:
<img border="0" dynsrc="movie.avi" start="fileopen">

Example 3 code:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D… codebase="http://www.apple.com/qtactivex… width="320" height="255" hspace="10" vspace="10">
<param name="src" value="movie.avi">
<param name="controller" value="false">
<param name="pluginspage" value="http://www.apple.com/quicktime/do…
<embed src="media/its_320.mov" width="320" height="255" hspace="10" vspace="10"align="right" controller="false" autoplay="false" pluginspage="http://www.apple.com/quickt…
</embed> </object>

Try all three and see what works for you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-08-2009, 03:02 AM
Senior Member
 
Join Date: Jul 2009
Location: www.shoesbuyonline.com
Posts: 134
Send a message via MSN to gengye
Default

It depends on what format of movies you want to embed. Just go to their respective sites for embedding codes.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-11-2010, 11:48 AM
Junior Member
 
Join Date: Feb 2009
Posts: 20
Default

Use the following HTML Tag:
<object data="directory/file.xy">
or
<object data="http://www.example.org/file.xy">

you can also insert the MIME-Type, for this you use the attribute 'type' like this:
<object data="directory/file.mpg" type="video/mpeg">

There you find a list of all MIME-Types:
Mimetypes



Last edited by Ducani : 04-14-2010 at 09:45 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-23-2010, 10:46 PM
Junior Member
 
Join Date: May 2007
Posts: 19
Default

W3Schools Online Web Tutorials
__________________
VevoCart .Net Shopping Cart and eCommerce Software
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 05:06 AM.


Website Design by Ducani Media Group
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.