Hi
Das ist sicher kein Flash-Problem sondern ein Problem, wie der Player eingebunden respektive aufgerufen wird.
Also ich habe jetzt einfach mal folgendes gemacht:
Ausgabe meines php-scriptes in IE -> Quelltext anzeigen -> Quelltext kopieren -> Quelltext als HTML speichern -> aufrufen -> jetzt geht es...
Das ist natürlich nicht was ich möchte, denn es soll ja die Seite dynamisch erstellt werten - aber es ist doch wirklich merkwürdig, oder?
Zum Testen:
Einen Browsertab öffnen mit
http://www.macloo.com/examples/audio_player/
und einen anderen mit dem lokal gespeicherten Quelltext:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Tutorial for Flash MP3 Player</title>
<style type="text/css">
<!--
body {
background: #069;
font-family: verdana, helvetica, sans-serif;
font-size: 12px;
color: #000;
line-height: 150%;
margin: 0;
padding: 0;
}
#wrapper {
width: 700px;
margin: auto;
padding: 20px;
background: #fff;
}
#footer {
margin: 10px 0;
padding: 0 10px;
border: 1px solid #666;
}
.markup {
font-family: "Courier New", courier, monospace;
font-size: 14px;
padding-left: 15px;
}
.highlight {
background: #FFFF00;
}
h1 {
font-size: 190%;
font-weight: bold;
}
h2 {
font-size: 140%;
font-weight: bold;
margin-top: 25px;
margin-bottom: 6px;
}
-->
</style>
</head>
<body>
<div id="wrapper">
<h1>Embedded MP3 Audio Player</h1>
<p>This tutorial uses the <a href="http://www.1pixelout.net/code/audio-player-wordpress-plugin/" target="_blank">Audio
Player WordPress plugin</a> from <a href="http://www.1pixelout.net/" target="_blank">1pixelout</a> (by Martin Laine). Please download the .zip file from
that site. You will need to unzip the files and use two of them:</p>
<ul>
<li>player.swf (this is the audio player) </li>
<li>audio-player.js (this is the JavaScript) </li>
</ul>
<p>The instructions below concern using that player on<strong> non-WordPress</strong> HTML pages.</p>
<p>You must have some Web space that you control (that is, server space) to which
you will <b>upload</b> these files as well as your audio files.</p>
<script language="JavaScript" src="../../scripts/audio-player.js" type="text/javascript"></script>
<object type="application/x-shockwave-flash" data="http://www.macloo.com/examples/audio_player/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://www.macloo.com/examples/audio_player/player.swf" />
<param name="FlashVars" value="playerID=audioplayer1&soundFile=http://www.macloo.com/audio/blah.mp3" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="wmode" value="transparent" />
</object>
<p>If you are using Internet Explorer, you will probably need to click the player
twice to make it play. (All other Web browsers will let you click once.) If
you do not see the MP3 player, then you don't have the <a href="http://www.adobe.com/go/getflashplayer/" target="_blank">Flash
player</a> installed. (More than 90 percent of all Internet users <a href="http://www.adobe.com/products/player_census/flashplayer/version_penetration.html" target="_blank">do
have it</a>.) </p>
<h2>Tutorial</h2>
<p>For this tutorial, let's imagine that your server space is at this URL:
<b>www.fakedomain.com/myname/</b></p>
<ol>
<li>Create a new folder on your Web server and name it "audio"</li>
<li>Upload the two files for the audio player (<b>player.swf</b> and <b>audio-player.js</b>)
to the <b>audio</b> folder.</li>
<li>Upload an MP3 file to the <b>audio</b> folder. For this tutorial, let's
assume your file is named <b>music.mp3</b>. (NOTE: The MP3 file must be encoded
at 44.1 kHz, or 22.05 kHz; any other sampling rate will result
in the "chipmunk effect," which you really would not like.) </li>
</ol>
<p>Now that your three files are uploaded, they reside at these URLs: </p>
<ul>
<li>http://www.fakedomain.com/myname/audio/<b>player.swf</b></li>
<li>http://www.fakedomain.com/myname/audio/<b>audio-player.js</b></li>
<li>http://www.fakedomain.com/myname/audio/<b>music.mp3</b></li>
</ul>
<p>The next step is to place the HTML for this player on the Web page where you
want it to appear. Change the URLs shown below to match your own URLs.</p>
<div class="markup"><script language="JavaScript" src="<span class="highlight">http://www.fakedomain.com/myname/audio/audio-player.js</span>"></script><br />
<object type="application/x-shockwave-flash" data="<span class="highlight">http://www.fakedomain.com/myname/audio/player.swf</span>" id="audioplayer1" height="24" width="290"><br />
<param name="movie" value="<span class="highlight">http://www.fakedomain.com/myname/audio/player.swf</span>"><br />
<param name="FlashVars" value="playerID=audioplayer1&soundFile=<span class="highlight">http://www.fakedomain.com/myname/audio/music.mp3</span>"><br />
<param name="quality" value="high"><br />
<param name="menu" value="false"><br />
<param name="wmode" value="transparent"><br />
</object>
</div>
<h2>If You Use Blogger</h2>
<p>To use this player with a blog hosted at Blogger, take out all the code <b>above</b> the
<object> tag and place it in your Blogger template (instead). In the Blogger
template, place it above the </head> tag, as shown: </p>
<div class="markup"><script language="JavaScript" src="<span class="highlight">http://www.fakedomain.com/myname/audio/audio-player.js</span>"></script><br />
</head> </div>
<p>Then each time you use the player<b> in a blog post, </b>you will paste <b>only</b> the
<object> code into your blog post. </p>
<h2>Using More Than One Audio File </h2>
<p>You can simply upload additional audio files to the same "audio" folder on
your Web server. Make sure each file has a unique filename.</p>
<p>You do not need to upload the two files for the audio player (<b>player.swf</b> and <b>audio-player.js</b>)
more than once.</p>
<h2>Placing More Than One Player on the Same Page </h2>
<p>For a second player on a page, use this HTML: </p>
<div class="markup"><object type="application/x-shockwave-flash" data="http://www.fakedomain.com/myname/audio/player.swf" id="<span class="highlight">audioplayer2</span>" height="24" width="290"><br />
<param name="movie" value="http://www.fakedomain.com/myname/audio/player.swf"><br />
<param name="FlashVars" value="<span class="highlight">playerID=audioplayer2</span>&soundFile=<span class="highlight">http://www.fakedomain.com/myname/audio/other.mp3</span>"><br />
<param name="quality" value="high"><br />
<param name="menu" value="false"><br />
<param name="wmode" value="transparent"><br />
</object> </div>
<p><strong>For a third player on the same page,</strong> change "audioplayer2" (BOTH of them!!) to "audioplayer3" in the HTML. For a fourth player, "audioplayer4," etc., etc. </p>
<p>THANK YOU to the fabulous <a href="http://soulsizzle.com/" target="_blank">Ryan Marganti</a> for catching an error and taking the time to send a correction to me!</p>
<p>MORE: You may also <a href="options.html">customize the colors</a> of the audio player. This page also provides parameters for making the audio <strong>loop</strong> (repeat) or <strong>auto-start</strong>.</p>
<p> </p>
<div id="footer">
<h2>About</h2>
<p>This tutorial is provided free of charge by <a href="http://mindymcadams.com/">Mindy
McAdams</a>. Please visit my
blog, <a href="http://mindymcadams.com/tojou/">Teaching Online Journalism</a>.
This tutorial is provided for your use <strong>without warranty or support.</strong> Copies
are permitted only under the conditions of <a href="http://creativecommons.org/licenses/by-nc-nd/2.5/" target="_blank">this
Creative Commons license</a>. This page was updated in October 2009.</p>
</div>
</div>
</body>
</html>
Habt Ihr dasselbe Ergebnis?
Der kopierte Quelltext funktioniert beim Aufrufen.
Das Original nicht.
?????????????????????
Also ich wäre immernoch dankbar für Hilfe und denke, es ist auch ganz interessant.
Wie dankbar?;)
-So dankbar, dass ich - falls ich eine finde - diese selbstgefundene Lösung hier für alle öffentlich machen werde.
-So dankbar, dass ich hier eventuell sogar Fragen beantworte, die mich selbst garnicht betreffen.
-So dankbar, dass jeder freundliche Antworter von mir hiermit herzlich bedankt sei ;) ;) :D