|
|
Post a Project »
Find a Professional HTML Freelancer!
Find a Freelancer to help you with your HTML projects
| |
|
How to Add Flash, Video, and Audio to Web Pages
10-20-2006, 05:44 PM
|
How to Add Flash, Video, and Audio to Web Pages
|
Posts: 10,688
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.
Last edited by vangogh; 10-21-2006 at 04:45 PM..
|
|
|
|
10-25-2006, 03:38 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
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!!
|
|
|
|
10-25-2006, 04:02 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 10,016
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 !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
10-25-2006, 04:11 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 4
|
so if i remove the embed tag it will play automatically??
|
|
|
|
10-25-2006, 04:14 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 10,016
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 !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
10-25-2006, 04:15 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 4
|
thanks mate
i'll have another look, have another play and see if i can get it to work.
|
|
|
|
10-25-2006, 04:28 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
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 
|
|
|
|
10-27-2006, 10:20 AM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 140
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  )
|
|
|
|
10-27-2006, 02:07 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 10,016
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 !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
10-27-2006, 02:08 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 10,016
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 !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
10-30-2006, 09:41 AM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 140
Name: Mark
Location: Ohio
|
Thanks! I will give that a shot!
|
|
|
|
11-06-2006, 07:28 AM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 10
Name: Tim
|
As for me too, looking for this...and got it..
thanks
|
|
|
|
11-27-2006, 01:15 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
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?
|
|
|
|
11-27-2006, 01:18 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 10,016
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 !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
11-27-2006, 01:28 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 1,611
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.
__________________
Please login or register to view this content. Registration is FREE - Tumblog with thoughts, quotes, links, videos, images and my creations.
Please login or register to view this content. Registration is FREE - The best free web browser.
Please login or register to view this content. Registration is FREE - Firefox is now Firefail.
|
|
|
|
11-27-2006, 01:29 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 12
|
Quote:
Originally Posted by LadynRed
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. . . 
|
|
|
|
11-27-2006, 01:34 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 1,611
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.
__________________
Please login or register to view this content. Registration is FREE - Tumblog with thoughts, quotes, links, videos, images and my creations.
Please login or register to view this content. Registration is FREE - The best free web browser.
Please login or register to view this content. Registration is FREE - Firefox is now Firefail.
|
|
|
|
01-10-2007, 12:43 AM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
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
|
|
|
|
01-10-2007, 03:13 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 10,016
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 !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|
|
|
|
01-15-2007, 08:52 PM
|
Re: How to Add Flash, Video, and Audio to Web Pages
|
Posts: 328
|
well - i do have basic html knowlege, but i have a good tool by my side - its better to use it 
|
|
|
|
|
« Reply to How to Add Flash, Video, and Audio to Web Pages
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|