Web Design Forums

Welcome! Please register or log in: Forgot your password? Why register?
You are here: Web Design Forums » Web Design Help » HTML and CSS Help » embedding videos? RSS

embedding videos?

This thread was started by diddy and has been viewed 713 times, and contains 13 replies, with the last reply made by Hitch - CP.
Post Reply
1
105 points at 96% Repute
diddy, [insert witty comment here] Private message   E-mail
Posted May 27 '09 at 02:04 AM
      Posts: 473
Hello. Haven't found a simple answer to this anywhere and I am needing some clear advice on this. I want to embed a video into my website. It will probably be an avi or swf file. I've head that the <embed></embed> tags aren't used anymore, and that the best way to go about this is to use <object> and <param> tags. My question is this: how to I work wit these? Can someone please explain exactly what to do with these tags and all of the <param> options please? I've read up on it all and am confused. Could someone please explain it clearly to me? Thanks.
Was my or another members' post helpful in any way? If so, please click the thumbs up ( ) above the post to signal a good quality post.
W3C | XTHML Validator | CSS Validator | WDF Rules

Advertisement Register for free to hide these ads and participate in discussions!

2
36 points at 100%
medlington, WDF Addict! Home page   Private message  
Posted June 2 '09 at 12:40 PM
      Posts: 158
not too sure off hand, I find the easiest way is to embed the video using Flash. Publish yuor flash file and then open the html file thats been created in dreamweaver or notepad. Then just copy and paste all the flash element into yuor webpage where erquired.

You usualy need to include the javascript bit at the top too.
medlington is online now! Reply

3
105 points at 96% Repute
diddy, [insert witty comment here] Private message   E-mail
Posted June 2 '09 at 06:20 PM
      Posts: 473
Ok, thanks for the response. Anyone got any ideas on doing this with avi files? Do I just copy and paste the flash code produced as medlington said above and then change the filename, or do I have to change other options?
Was my or another members' post helpful in any way? If so, please click the thumbs up ( ) above the post to signal a good quality post.
W3C | XTHML Validator | CSS Validator | WDF Rules

4
36 points at 100%
medlington, WDF Addict! Home page   Private message  
Posted June 3 '09 at 11:17 AM
      Posts: 158
I think embedding an AVI is a bad idea as the file sizes are probably going to be too big for the web. I think quicktime movs could be better for you.

Dont know exactly how to embed those, I think you need to embed the quicktime player or similar. It wont work editing the Flash code for Avis or Movs though.
medlington is online now! Reply

5
1,251 points at 99% Moderator Repute
mlseim, WDF Moderator Private message  
Posted June 3 '09 at 03:45 PM
      Posts: 3,091
I think you might want to try finding a "shareware" conversion program,
convert your video to Flash (.flv type). Maybe you can try one for free and
see if it works.

Free Flash players to embed on web pages are easy to find on the internet.
Like FlowPlayer, for example.

I just think it's easiest to use Flash because most people (PC and Mac) have
the Macromedia plug-ins. Like PDF files, they seem to be very portable.
But this is just my opinion ... others might have a better idea on this one.
If it's zero degrees outside today, and it's supposed to be twice as cold tomorrow, how cold is it going to be?

6
105 points at 96% Repute
diddy, [insert witty comment here] Private message   E-mail
Posted June 4 '09 at 03:23 AM
      Posts: 473
Yeah, I'd most likely use flash formats, but I was also wondering about avi, but I don't think that's very important.. I wouldn't use quicktime either, as I find that most users don't have it.

Thanks for the responses!
Was my or another members' post helpful in any way? If so, please click the thumbs up ( ) above the post to signal a good quality post.
W3C | XTHML Validator | CSS Validator | WDF Rules

7
185 points at 100% Repute
aburningflame, Must... Post... More...! Private message  
Posted June 4 '09 at 03:46 AM
      Posts: 424
you can use an object tag to embed videos and this adheres to strict. cross browser support is horrible, and if you dont mind not being strict use the EMBED tag.

if you WANT to conform to standards use a flash player

8
105 points at 96% Repute
diddy, [insert witty comment here] Private message   E-mail
Posted June 4 '09 at 03:48 AM
      Posts: 473
in that case I'll use a flash player!
Was my or another members' post helpful in any way? If so, please click the thumbs up ( ) above the post to signal a good quality post.
W3C | XTHML Validator | CSS Validator | WDF Rules

9
105 points at 96% Repute
diddy, [insert witty comment here] Private message   E-mail
Posted June 4 '09 at 03:50 AM
      Posts: 473
don't you need <object> to emebed flash?
Was my or another members' post helpful in any way? If so, please click the thumbs up ( ) above the post to signal a good quality post.
W3C | XTHML Validator | CSS Validator | WDF Rules

10
View ketanco's reputation
ketanco, Must... Post... More...! Private message   E-mail
Posted June 4 '09 at 06:53 AM
      Posts: 228
i have a .mov video file....I have never added video to webpage before. can someone write a simple minimum code in html to add video please? ...
I understand that I need to use embed or object tags etc...but i don't know the exact syntax. So again, all I want is a simple html line to add a video. not flash, nothing complicated.

11
105 points at 96% Repute
diddy, [insert witty comment here] Private message   E-mail
Posted June 4 '09 at 07:23 AM
      Posts: 473
yeah, I wouldn't mind that also. For me flash is good. I haven't found one simple explanation of how to do this on the internet so far.

BTW kentaco, as suggested above you may want to use a flash format instead. It's more widely supported in most cases.
Was my or another members' post helpful in any way? If so, please click the thumbs up ( ) above the post to signal a good quality post.
W3C | XTHML Validator | CSS Validator | WDF Rules

12
185 points at 100% Repute
aburningflame, Must... Post... More...! Private message  
Posted June 4 '09 at 02:00 PM
      Posts: 424
heres a resouce for embedding.
GOOGLE IS YOUR FRIEND

http://joliclic.free.fr/html/object-...ect-video.html

13
34 points at 74%
Dorky, Freelance Home page   Private message  
Posted June 8 '09 at 08:37 PM
      Posts: 778

if this is set to hidden it will show on IE as a small square, not good for sound effects lmao. oops. but for standard use it will do well. and when someone tells you something is phasing out, go check http://www.w3.org/ before you base anything on it. and both embed and object use the software on the client pc, thats why you have to have it installed(ie. flash) to view it. so no you dont need anything but the file.

<embed height="20" SRC="yourfile.ext" VOLUME="50" loop="false" controls="console" autostart="false" width="128"></embed>


for flash i believe this is best.

<object type="application/x-shockwave-flash" width="400" height="170"
data="xspf_player.swf?playlist_url=test.xspf">
<param name="movie" value="xspf_player.swf?playlist_url=test.xspf" />
</object>

14
9 points at 100%
Posted June 11 '09 at 11:31 AM
      Posts: 45
If in doubt a good WYSIWYG program like Dreamweaver will be able to do this for you; it is quick and easy to insert a flash file or other similar via the Insert > Media tabs I think it is.

Post Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check this out - Videos on how to protect your website against hackers Arne1983 PHP 3 June 2 '09 12:20 PM
Help with Embedding an FLV Movie into a php webpage Mystique1981 HTML and CSS Help 6 January 14 '08 02:04 PM
embedding videos with frontpage? stumped Web Design Discussion 2 August 13 '07 01:47 PM
best way to show videos Karloff HTML and CSS Help 2 September 2 '06 01:54 PM
How do I alter a script to lplay videos back-to-back duck444 General Design Discussion 0 March 17 '06 10:26 AM