Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
How to Add Flash, Video, and Audio to Web Pages
Old 02-05-2007, 07:23 AM Re: How to Add Flash, Video, and Audio to Web Pages
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
Trades: 0
I agree with LadynRed, you can't always rely on the tools to do things for you. I find they add messy, unnecessary code.
__________________
I think, therefore I am..... I think.
scottfree is offline
View Public Profile Visit scottfree's homepage!
 
 
Register now for full access!
Old 02-05-2007, 11:31 AM Re: How to Add Flash, Video, and Audio to Web Pages
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Looking for more what ?? A wide range of solutions are shown in the linked article.
__________________
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

LadynRed is offline
View Public Profile
 
Old 02-07-2007, 11:34 AM Methods of Embedding Flash - from ALA
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
View Public Profile
 
Old 02-09-2007, 01:17 PM Re: Methods of Embedding Flash - from ALA
memberpro's Avatar
Super Talker

Posts: 143
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
- step-by-step learn how to design, create and install your own website in hours...not days.
Please login or register to view this content. Registration is FREE
was never so easy.
memberpro is offline
View Public Profile
 
Old 02-09-2007, 05:36 PM Re: How to Add Flash, Video, and Audio to Web Pages
trichnosis's Avatar
Webmaster Talker

Posts: 511
Trades: 0
thanks for this usefull post
__________________
....
trichnosis is offline
View Public Profile Visit trichnosis's homepage!
 
Old 02-09-2007, 05:37 PM Re: Methods of Embedding Flash - from ALA
trichnosis's Avatar
Webmaster Talker

Posts: 511
Trades: 0
thanks for this perfect post . i was looking for an article like this
__________________
....
trichnosis is offline
View Public Profile Visit trichnosis's homepage!
 
Old 03-21-2007, 11:48 AM Re: How to Add Flash, Video, and Audio to Web Pages
Super Talker

Posts: 132
Trades: 0
thanks
kenang82 is offline
View Public Profile
 
Old 03-26-2007, 07:35 PM Re: How to Add Flash, Video, and Audio to Web Pages
Extreme Talker

Posts: 169
Trades: 0
Ok, I have an issue. I want valid video, but for whatever reason I cannot seem to have it the way I want.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Video test</title>
  </head>
  <body>
    <div id="video">
      <object type="video/x-ms-wmv" data="videofile.wmv" width="320" height="180" >
        <p><a href="videofile.wmv">The video</a></p>
      </object>
    </div>
  </body>
</html>
It works, but not the way I want. In Opera I do get the control bar, in Firefox however, I do not.
I tried adding
Code:
<param name="controller" value="true" />
but that changed nothing.
Any ideas, or is this some kind of Firefox setting? Because once the video is done, the only way I can get to replay in Firefox is to hit reload (AKA a "replay=reload page" button).

Any help is greatly appreciated.
__________________
George Bush would never take me alive.
MJM_RDS is offline
View Public Profile
 
Old 04-15-2007, 03:46 PM Re: How to Add Flash, Video, and Audio to Web Pages
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
All of those would be less than desirable 'solutions' to the problem.
__________________
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

LadynRed is offline
View Public Profile
 
Old 05-10-2007, 03:08 AM Re: How to Add Flash, Video, and Audio to Web Pages
Novice Talker

Posts: 8
Trades: 0
Thanks for the post. And i agree tools can be useful. "A good tradesman never blames his tools"
__________________

Please login or register to view this content. Registration is FREE
- Free professional logos you can edit to suit your needs
akdiver is offline
View Public Profile
 
Old 05-12-2007, 11:08 AM Re: How to Add Flash, Video, and Audio to Web Pages
loganeast's Avatar
Skilled Talker

Posts: 80
Name: Joe Williams
Location: Phoenix, AZ
Trades: 0
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 -
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
loganeast is offline
View Public Profile Visit loganeast's homepage!
 
Old 06-02-2007, 04:55 PM Re: Methods of Embedding Flash - from ALA
Junior Talker

Posts: 3
Trades: 0
once again gr8 post I love this community

______________
my work
sakib000 is offline
View Public Profile
 
Old 06-30-2007, 02:28 AM Re: How to Add Flash, Video, and Audio to Web Pages
noboxes's Avatar
Novice Talker

Posts: 9
Name: les
Trades: 0
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 ...
__________________

Please login or register to view this content. Registration is FREE
noboxes is offline
View Public Profile Visit noboxes's homepage!
 
Old 07-20-2007, 05:35 AM Re: How to Add Flash, Video, and Audio to Web Pages
Junior Talker

Posts: 4
Trades: 0
thanks for this info..
marketstrat is offline
View Public Profile Visit marketstrat's homepage!
 
Old 07-31-2007, 06:01 PM Re: How to Add Flash, Video, and Audio to Web Pages
imagn's Avatar
Novice Talker

Posts: 11
Name: Matt
Location: Los Angeles
Trades: 0
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

Please login or register to view this content. Registration is FREE
imagn is offline
View Public Profile Visit imagn's homepage!
 
Old 08-21-2007, 11:51 PM Re: How to Add Flash, Video, and Audio to Web Pages
Experienced Talker

Posts: 38
Name: ramiz
Trades: 1
Thanks for the info i was looking for the code to add videos
mobhunter is offline
View Public Profile
 
Old 08-22-2007, 06:01 PM Re: How to Add Flash, Video, and Audio to Web Pages
Novice Talker

Posts: 9
Name: Sebastian
Trades: 0
thanks
TeppaHosting is offline
View Public Profile
 
Old 10-08-2007, 05:39 AM Re: How to Add Flash, Video, and Audio to Web Pages
Super Talker

Posts: 145
Name: nasseem
Trades: 3
I don't understand why people need to work with codes while you can easily add whatever video or audio to your site in graphic interface - Frontpage - Macromedia Flash or whatever
__________________

Please login or register to view this content. Registration is FREE
- - - -
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
- - - - - -
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
- - - -
Please login or register to view this content. Registration is FREE
websites-online is offline
View Public Profile
 
Old 10-08-2007, 02:38 PM Re: How to Add Flash, Video, and Audio to Web Pages
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Gee.. because WYSIWYG programs use the (bad) <embed> tag, and the point here is to NOT use it !
__________________
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

LadynRed is offline
View Public Profile
 
Old 10-25-2007, 01:13 PM Re: How to Add Flash, Video, and Audio to Web Pages
dougadam's Avatar
The Watkins Man

Latest Blog Post:
Bloom Where You Are
Posts: 359
Name: Douglas Adams
Location: Traverse City, Michigan
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Easy answer -- DO NOT USE THE EMBED TAG !!! That is what this is all about, you cannot use <embed> any more.
I didn't know that. Thank You!
__________________

Please login or register to view this content. Registration is FREE
indpassoc |
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
indpassoc
dougadam is offline
View Public Profile Visit dougadam's homepage!
 
Closed Thread     « Reply to How to Add Flash, Video, and Audio to Web Pages

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.67793 seconds with 10 queries