![]() |
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Junior Talker
Posts: 1
|
looking for more...
|
|
|
|
| Sponsored Links (We share ad revenue): |
|
|
Methods of Embedding Flash - from ALA |
|
Super Moderator
![]() Posts: 5,567
Location: Tennessee
|
The article examines popular methods for ditching the <embed> tag.
Flash Embedding Cage Match - from A List Apart http://www.alistapart.com/articles/flashembedcagematch
__________________
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" |
|
|
|
|
|
Re: Methods of Embedding Flash - from ALA |
|
Super Talker
Posts: 143
|
Great article on embedding flash... I wish I had this information about 3 months ago when I was beating my head against the wall trying to get my flash movie to work on all browsers.
Top notch... keep these articles coming. ![]()
__________________
Membership Mastery Videos - step-by-step learn how to design, create and install your own website in hours...not days. Web Site Design was never so easy. |
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Webmaster Talker
Posts: 509
|
thanks for this usefull post
|
|
|
|
|
|
Re: Methods of Embedding Flash - from ALA |
|
Webmaster Talker
Posts: 509
|
thanks for this perfect post . i was looking for an article like this
![]() |
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Skilled Talker
Posts: 80
|
thanks
|
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Junior Talker
Posts: 4
Name: Abhinav Srivastva
|
Wow thats easy
Use the insert option in MS frontpage Use Dreamweaver Or use Blue voda Website Builder Or you may use iframes If it wasnt helpful you should try http://www.subscriberpoint.com/searc...RID%3A11&hl=en |
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Novice Talker
Posts: 7
|
Thanks for the post. And i agree tools can be useful. "A good tradesman never blames his tools"
__________________
Website Flipping Blog - Find out all you need to know on the next big internet craze |
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Skilled Talker
Posts: 80
Name: Joe Williams
Location: Phoenix, AZ
|
There's something to be said for a good tool. Tools are important, tools make jobs easier. But let me give you this analogy to continue what LadynRed touched on.
A common worker with a great tool can build a house. A master craftsman with the same tool can build a castle. Yes, tools are good and tools should be used. But if you know the code that the tool is building, you can tweak that code to be exactly what you want while maintaining coding standards. If you don't, you get whatever code the program churns out whether its right for that application or not. Great sites are built on good ideas and clean, valid code. If you're only interested in using tools and don't care about the code, make your pages in Word and export them as HTML.
__________________
Joe Williams - 3D Animation Services and Web Design Mets vs Red Sox in the 2007 World Series Golf Swing Instruction Guaranteed to Shave 7 Strokes Off Your Game |
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Novice Talker
Posts: 9
Name: les
|
If the whole would just download the new version of quicktime ... and ditch wmv all together ... or better yet if there was only 1 computer with 1 set of programs and we all had access to it ...
__________________
web design portland |
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Junior Talker
Posts: 4
|
thanks for this info..
|
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Novice Talker
Posts: 9
Name: Matt
Location: Los Angeles
|
Here is the method we use:
There's 2 parts... an external JS file and the call within your HTML page: Save the following code as an external file (in this example I called it 'flashfix.js' within a directory called 'js') --------------------------------------------------- function ieFix(filePath, theHeight, theWidth, varName, cookieVar, bgColor) { document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub...ersion=7,0,0,0" width="' + theWidth + '" height="' + theHeight + '" id="' + filePath + '" align="middle">\n'); document.write('<param name="allowScriptAccess" value="sameDomain">\n'); document.write('<param name=movie VALUE="' + filePath + '.swf">\n'); document.write('<param name=quality VALUE=high>\n'); document.write('<param name="flashvars" value="' + varName + '=' + cookieVar + '">\n'); document.write('<param name=scale VALUE=noborder>\n'); document.write('<param name=menu VALUE=false>\n'); document.write('<param name="wmode" value="transparent" />\n'); document.write('<param name=bgcolor VALUE=#' + bgColor + '>\n'); document.write('<embed id="flash" src="' + filePath + '.swf" wmode="transparent" quality="high" flashvars="' + varName + '=' + cookieVar + '" bgcolor="#' + bgColor + '" width="' + theWidth + '" height="' + theHeight + '" name="' + filePath + '" align="center" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\n'); document.write('</object>\n'); } --------------------------------------------------- Then add the JS file within <head></head> tags: --------------------------------------------------- <script src="js/flashfix.js" type="text/javascript"></script> --------------------------------------------------- And finally the call within your HTML: --------------------------------------------------- <script type="text/javascript">ieFix('flash_movie',500,800,'','','fff fff');</script> --------------------------------------------------- Set both 'varName' and 'cookieVar' to '' - they are used only if you are passing variables to Flash Don't include '.swf' in the filePath
__________________
Imagn Design: Los Angeles Web Design Firm |
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Novice Talker
Posts: 7
Name: Rossko
|
Yes!
I think so... |
|
|
|
|
|
Re: How to Add Flash, Video, and Audio to Web Pages |
|
Experienced Talker
Posts: 40
Name: ramiz
|
Thanks for the info i was looking for the code to add videos
|
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|