Reply
How to Add Flash, Video, and Audio to Web Pages
Old 10-20-2006, 04:44 PM How to Add Flash, Video, and Audio to Web Pages
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Welcome to Van SEO Design
Posts: 8,040
Name: Steven Bradley
Location: Boulder, Colorado
The issue comes up often and there have been many questions here about how to properly add video and audio to web pages.

The following link has been supplied quite a few times by LadynRed.

http://www.webstandards.org/2006/08/...object-markup/

You'll find three links at the top of the page on adding:

Valid Flash
Valid Video
Valid Audio

The three links are now here as well.

The pages above should provide enough information to for you to add media to your web pages, but if for any reason there are more questions, let's try to keep them here in this thread so we can have everything in one place and provide what will hopefully be a valuable resource.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes

Last edited by vangogh : 10-21-2006 at 03:45 PM.
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Sponsored Links (We share ad revenue):
 
Old 10-25-2006, 02:38 PM Re: How to Add Flash, Video, and Audio to Web Pages
Junior Talker

Posts: 4
right guys, im hoping you can help me out because im totally stuck on what im trying to achieve

Im trying to make this video that is on my, myspace page play automatically when people visit the page.


<a href="<A href="http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=86632 1144">Lock">http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=86632 1144">Lock Stock & Two Smoking Barrels</a><br><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=866321144&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed><br><a href="http://vids.myspace.com/index.cfm?fu...144&title=Lock Stock & Two Smoking Barrels">Add to My Profile</a> | <a href="http://vids.myspace.com/index.cfm?fuseaction=vids.home"> More Videos</a>


Now, ive had a look at the code myself, had a look at the links posted above in this thread, had a mess around, but i just cannot get it to play by itself . This video is from myspace videos, not youtube or anywhere else and unfortuantely I cant find this particular video hosted anywhere other than on myspace.

If someone could post up what i need to add to the code and where, to make it play by itslef i would be extremely grateful.

Surely, if the video starts by itslef here >> http://vidsearch.myspace.com/index.c...eoid=866321144

I cant get it to start on my own page??
Please help!!
brad1987 is offline
Reply With Quote
View Public Profile
 
Old 10-25-2006, 03:02 PM Re: How to Add Flash, Video, and Audio to Web Pages
LadynRed's Avatar
Super Moderator

Posts: 5,526
Location: Tennessee
Easy answer -- DO NOT USE THE EMBED TAG !!! That is what this is all about, you cannot use <embed> any more.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-25-2006, 03:11 PM Re: How to Add Flash, Video, and Audio to Web Pages
Junior Talker

Posts: 4
so if i remove the embed tag it will play automatically??
brad1987 is offline
Reply With Quote
View Public Profile
 
Old 10-25-2006, 03:14 PM Re: How to Add Flash, Video, and Audio to Web Pages
LadynRed's Avatar
Super Moderator

Posts: 5,526
Location: Tennessee
No, you must use one of the methods outlined on the linked pages. Check out the SWFObject method. It uses some simple javascripting to get rid of the nasty <embed> tag.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-25-2006, 03:15 PM Re: How to Add Flash, Video, and Audio to Web Pages
Junior Talker

Posts: 4
thanks mate

i'll have another look, have another play and see if i can get it to work.
brad1987 is offline
Reply With Quote
View Public Profile
 
Old 10-25-2006, 03:28 PM Re: How to Add Flash, Video, and Audio to Web Pages
Junior Talker

Posts: 4
crikey! having just read "valid flash" twice again, i've realised its a bit beyond my knowledge

can i be cheeky and ask for someone to have a go for me?? I have no idea how long it would take someone to change it, so if it will take ages dont worry
brad1987 is offline
Reply With Quote
View Public Profile
 
Old 10-27-2006, 09:20 AM Re: How to Add Flash, Video, and Audio to Web Pages
mb2000inc's Avatar
Skilled Talker

Posts: 51
Name: Mark
Location: Ohio
Ok, does anyone know how to convert movies (most types) to flash to use just like YouTube, Google, and the like?

I'd like to upload and play them on my server with out having to deal with the whole temporary file thingy issue (yes, "Thingy" is a technical term )
mb2000inc is offline
Reply With Quote
View Public Profile Visit mb2000inc's homepage!
 
Old 10-27-2006, 01:07 PM Re: How to Add Flash, Video, and Audio to Web Pages
LadynRed's Avatar
Super Moderator

Posts: 5,526
Location: Tennessee
If you have Flash8, you can easily import a movie into Flash and save it as either a Flash Video file or an SWF.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-27-2006, 01:08 PM Re: How to Add Flash, Video, and Audio to Web Pages
LadynRed's Avatar
Super Moderator

Posts: 5,526
Location: Tennessee
Brad,
Try the SWFObject method, you can find a complete explanation of how it works, the downloadable JS file (with help) and examples here:
http://blog.deconcept.com/swfobject/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-30-2006, 08:41 AM Re: How to Add Flash, Video, and Audio to Web Pages
mb2000inc's Avatar
Skilled Talker

Posts: 51
Name: Mark
Location: Ohio
Thanks! I will give that a shot!
mb2000inc is offline
Reply With Quote
View Public Profile Visit mb2000inc's homepage!
 
Old 11-06-2006, 06:28 AM Re: How to Add Flash, Video, and Audio to Web Pages
Novice Talker

Posts: 10
Name: Tim
As for me too, looking for this...and got it..



thanks
mythikal is offline
Reply With Quote
View Public Profile
 
Old 11-27-2006, 12:15 PM Re: How to Add Flash, Video, and Audio to Web Pages
webdizzy's Avatar
Novice Talker

Posts: 12
How can I add music to a group of webpages so that the music continues uninterrupted between pages and doesn't start at the beginning with each new page?
webdizzy is offline
Reply With Quote
View Public Profile
 
Old 11-27-2006, 12:18 PM Re: How to Add Flash, Video, and Audio to Web Pages
LadynRed's Avatar
Super Moderator

Posts: 5,526
Location: Tennessee
You can't, at least not with Flash, and besides you should NOT do this. Playing music on your site is just plan annoying to most people. If I land on a site that insists on playing music, especially one with no way to turn it off, I will leave immediately.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-27-2006, 12:28 PM Re: How to Add Flash, Video, and Audio to Web Pages
Mooofasa's Avatar
Defies a Status

Latest Blog Post:
Plugged
Posts: 1,584
Name: Michael (mik) Land
Location: England
Easiest (but in no way am I saying do it) is to use either frames/iframes and load the content that way.
__________________
Pseudocrap.net - Personal blog on education, life, humour and reviews.
Opera Browser - The fastest and best free web browser.
Opera Dev Tools - The advantage of Firefox has just been left behind.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 11-27-2006, 12:29 PM Re: How to Add Flash, Video, and Audio to Web Pages
webdizzy's Avatar
Novice Talker

Posts: 12
Quote:
Originally Posted by LadynRed View Post
You can't, at least not with Flash, and besides you should NOT do this. Playing music on your site is just plan annoying to most people. If I land on a site that insists on playing music, especially one with no way to turn it off, I will leave immediately.
Do you mean you can't do it withOUT Flash?

I TOTALLY agree re: putting music on a website, but my client is insisting despite my recommendation. Gotta make the client happy. . .
webdizzy is offline
Reply With Quote
View Public Profile
 
Old 11-27-2006, 12:34 PM Re: How to Add Flash, Video, and Audio to Web Pages
Mooofasa's Avatar
Defies a Status

Latest Blog Post:
Plugged
Posts: 1,584
Name: Michael (mik) Land
Location: England
You need a script that will track how long you spend on the current page (x). Then when you move to a different page, the script then needs to tell the flash to start the track at (x). This can not be done with pure Flash (or Actionscript) as it requires client-side (e.g. Javascript) monitoring of the length of time spent on that page.
__________________
Pseudocrap.net - Personal blog on education, life, humour and reviews.
Opera Browser - The fastest and best free web browser.
Opera Dev Tools - The advantage of Firefox has just been left behind.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 01-09-2007, 11:43 PM Re: How to Add Flash, Video, and Audio to Web Pages
Ultra Talker

Posts: 328
the easiest thing, is just to have dreamweaver that does all the building for you
issert - xxxxx - flash, and there, but its always good to learn the hard/longer way.
thanks for the links
roy77 is offline
Reply With Quote
View Public Profile
 
Old 01-10-2007, 02:13 PM Re: How to Add Flash, Video, and Audio to Web Pages
LadynRed's Avatar
Super Moderator

Posts: 5,526
Location: Tennessee
Quote:
the easiest thing, is just to have dreamweaver that does all the building for you
I have to disagree. I've had major problems with DW's method of inserting Flash. In addition, DW is just a TOOL, you should not be relying in it to 'do everything for you' for ANYTHING.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-15-2007, 07:52 PM Re: How to Add Flash, Video, and Audio to Web Pages
Ultra Talker

Posts: 328