ChrisB: Flashfilm in HTML einbinden

Beitrag lesen

Hi,

So ich bin jetzt deinem Vorschlag gefolgt.

Nein - du erzuegst immer noch Murks-Code.

Die <head> bereiche sind komplett aus den htm-dateien entfernt.

Es geht nicht im die head-Elemente, sondern um den ganzen anderen Kram, der immer noch doppelt ist.

Wenn ich in deinen Quelltext statt dem include mal den Quelltext deiner projekte.htm hineinkopiere, dann kommt das dabei heraus:

<!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>Alexander Damm</title>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <style type="text/css">
   @import "css/style.css";
  </style>
  <script language="javascript">AC_FL_RunContent = 0;</script>
<script src="scripts/AC_RunActiveContent.js" language="javascript"></script>

</head>
<body>
<div id="layout">
  <?php
    include "htm/header.htm";
    include "htm/navigation.htm";
  ?>
<html>
<div id="inhalt">
HIER STEHT EINE MENGE TEXT ÜBER MEINE BISHERIGEN PROJEKTE UND       NACHFOLGEND SOLL DER FLASCHFILM EINGEBETTET WERDEN:
   <p>
    <script language="javascript">
if (AC_FL_RunContent == 0) {
  alert("Diese Seite erfordert die Datei "AC_RunActiveContent.js".");
} else {
  AC_FL_RunContent(
   'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
   'width', '320',
   'height', '280',
   'src', 'video_02',
   'quality', 'high',
   'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
   'align', 'middle',
   'play', 'true',
   'loop', 'true',
   'scale', 'showall',
   'wmode', 'window',
   'devicefont', 'false',
   'id', 'video_02',
   'bgcolor', '#ffffff',
   'name', 'video_02',
   'menu', 'true',
   'allowFullScreen', 'false',
   'allowScriptAccess','sameDomain',
   'movie', 'video_02',
   'salign', ''
   ); //end AC code
}
</script>

<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="320" height="280" id="video_02" align="middle">

<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="video_02.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="video_02.swf" quality="high" bgcolor="#ffffff" width="320" height="280" name="video_02" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

</object>
</noscript>

</p>
</div>
</html>
</div>
<?php
  include "htm/footer.htm";
?>
</body>
</html>

Erkennst du jetzt, dass das immer noch grob bloedsinnig ist?

Mach dir bitte zunaechst klar, wie das Result, welches du erzielen moechtest, aussehen soll (und in Hinblick auf Validitaet *muss*) - *statisch*. Und ueberlege dir erst dann, wie du das ganze dynamisch per PHP zusammenbastelst.

MfG ChrisB

--
„This is the author's opinion, not necessarily that of Starbucks.“