Mailinglisten-Archive |
> ist es möglich zu erkennen, ob der Client des Benutzers das Flash-Plugin
> installiert hat? Bei JavaScript gibt es ja diverse Möglichkeiten, evtl.
> kann man ja mit dem 4.0.2er php auch über die Flashunterstützung etwas
> herausbekommen ... ?
Hallo Heiko,
schau mal bei http://flash4-center.de oder nimm das hier:
<!-- begin the JavaScript -->
<SCRIPT LANGUAGE="JavaScript">
<!-- hiding contents from old browsers
//If this browser understands the mimeTypes property and recognizes
//the MIME Type "application/x-shockwave-flash"...
if (navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"]){
//...write out the following <EMBED> tag into the document.
document.write('<EMBED SRC="flash-movie.swf" WIDTH="219"
HEIGHT="100" LOOP="true" QUALITY="high">');
}
//Otherwise,...
else {
//...write out the following <IMG> tag into the document. The image need
//not be the same size as the Flash Player movie, but it may help you
//lay out the page if you can predict the size of the object reliably.
document.write('<IMG SRC="alternativ.gif" WIDTH="219" HEIGHT="55"
ALT="Alternativtext">');
}
//Done hiding from old browsers. -->
</SCRIPT>
<NOSCRIPT>
<IMG SRC="alternativ.gif" WIDTH="219" HEIGHT="55"
ALT="Alternativtext">
</NOSCRIPT>
<!-- Close the OBJECT tag. -->
</OBJECT>
Liebe Grüße
Theo
php::bar PHP Wiki - Listenarchive