Hi Guys,
I've the following problem, the following code:
$link = $_GET['link'];
$id = $_GET['block'];
echo "<p id='preview". $id ."'>The player will show in this paragraph</p>";
echo "<script type='text/javascript'>";
echo "var s" . $id . " = new SWFObject('" . COMPANY_URL . "/system/addons/player/player.swf','player". $id ."','210','170','9');";
echo "s" . $id . ".addParam('allowfullscreen','true');";
echo "s" . $id . ".addParam('allowscriptaccess','always');";
echo "s" . $id . ".addParam('wmode','opaque');";
echo "s" . $id . ".addVariable('file', '" . $link . "&repeat=always&autostart=true');";
echo "s" . $id . ".addVariable('skin', '" . COMPANY_URL . "/system/addons/player/simple-sources.swf');";
echo "s" . $id . ".write('preview". $id ."');";
echo "</script>";
This is called every time by a jQuery load (this works because the echo "<p id='preview". $id ."'>The player will show in this paragraph</p>";
is showing).
In IE the player just leaves the 'player will show in this paragraph' while in all others browsers it is replaced by the jw-player. I can't find any solution on the forum of the jw-player or on stackoverflow...
Hope you guys can help!
Updated The generated Source firebug
<p><div class="videofile" id="856">
<p id="preview856"><embed width="210" height="170" flashvars="file=http://DOMAIN/data/productinfo/pressbyopie/long-line/leesdeel-verdraait/1242649976__video_longline-verdraait.flv&amp;repeat=always&amp;autostart=true&amp;skin=http://DOMAIN/system/addons/player/simple-sources.swf" wmode="opaque" allowscriptaccess="always" allowfullscreen="true" quality="high" name="player856" id="player856" src="http://DOMAIN/system/addons/player/player.swf" type="application/x-shockwave-flash"></p> </div></p>