Re: html code for downloading flash player



On Oct 22, 7:16 am, "K." <halinaciern...@xxxxxxxxxxxxxx> wrote:
Hello!I have a question to you.I have written such code:<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab...";
width="1" height="1" id="tlg_odliczanie_02" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="images/banner/banner41.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="images/banner/banner41.swf" quality="high" bgcolor="#ffffff"
width="1" height="1" name="tlg_odliczanie_02"
align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"; />
</object>Unfortunately when I validate the page byhttp://validator.w3.org
my page gives me errors after validating.
I cheet my page because I use above code only to make my
page downloading flash player if it is necessary. I don`t want to
display banner. I only want to my page shown the window
that your browser needs downloading flash player.
How would it be the code which let me do so? Of couse I would
like to have a html code which is good with validator.w3.org
standards.
Could you write for me such code?

Thank you very very much in advance
Marcin

The main problem at the w3c validator is that embed is not and never
has been an official tag either in html or xhtml. Thus everything used
within the embed throws a validation error. The ActiveX path as
specified by the classid is taken by browsers that support it, mainly
IE and closely related ones such as MSN, ATT/Yahoo DSL etc. Most
browsers do not support ActiveX. The embed path is taken by such
browsers that do not support ActiveX. The embed path usually will
work, but it is poor code. This does not seem to bother some media
companies in code they write. However it is easy enough to write a
path for non ActiveX browsers using ordinary objects rather than
invalid embed. One can use a Microsoft conditional comments to route
to the ActiveX path for Microsoft family browsers only and to other
browsers only, for example. In some cases, an ActiveX path is not
needed, and IE will support an ordinary object. This is true for
flash, but IE will not start showing the flash display until it is
completely downloaded which can be a bother for a large flash file.
There are tricks that require a very short initial flash display to
prevent this, but I prefer to use the ActiveX path for IE to allow use
of the full range of parameters on IE browsers, if desired. I never
use a link to download flash, wmp, Real etc., because I don't think
that most viewers will be bothered to download and install a media
player when they are viewing my page.They likely will just leave the
page.

View the source code for my page at http://www.cwdjr.net/flash/Fatty.php
.. for an example of this code. If you use a Firefox browser, you must
select to view the source code before you start playing, otherwise you
will not be offered the option to view source code on right clicking
the page. The video is designed for a good broadband connection, as it
has a quite large .flv video - about 21 MB. However the source code
should be viewable on even a slow dialup connection. It should be
possible to add parameters for both paths to allow downloading of
flash, but I have never done this for reasons mentioned above. if you
want the code in html 4.01 strict, view the page on an IE browser. If
you want the code in xhtml, use most other recent browsers such as
Opera, Firefox, Seamonkey, Safari for Windows etc to view the page.

.



Relevant Pages

  • Re: Vexille
    ... Trust me we've worked on some very slick AJAX projects with beautiful UIs, but the volume of code is incredible, and you end up having to deliver different CSS docs to different browsers. ... There are many things you cannot do with these web technologies; such as interact with video or process bitmaps and vector data. ... All of this can be done in Flash, with hardware acceleration, without worrying about browsers, using a standards-Based language, that will work on most platforms in a tiny amount of space. ... "multimedia", it's yet another sales buzzword for something that has been ...
    (rec.arts.anime.misc)
  • Re: field validation (was Re: COBOL/DB2 Date edit question)
    ... to make everything work across Browsers. ... text fonts that were simply ugly, colors not rendering correctly, and some ... Micro-focus at least used to be) that requires FLASH to even try to ...
    (comp.lang.cobol)
  • Re: Stumped:: web HTML. Caution, may be OT.
    ... Choose a standard that you are going to code to and validate against. ... font size, background color, margins, position etc. with your ... Have a look at the source and style sheet of my contact page (at the ... where the 120% sets the size of the font relative to the browsers ...
    (freebsd-questions)
  • Re: langua= vs type=
    ... Maybe your answer is, if you code to the standards and validate, then you ... can expect well-behaved browsers to handle your code correctly. ... Sometimes you can add functionality to a site for older ...
    (comp.lang.javascript)
  • Re: HEX EEEEEE COLORS WITH IE
    ... I would also validate the CSS. ... MVP FrontPage ... W3C recommendations: ... :>pages to look the same in all current browsers. ...
    (microsoft.public.frontpage.programming)