habe den jw player erfolgreich eingebunden.
nun möchte ich als zusätzlichen parameter {URL2} ein bild, welches als startbildangezeigt werden soll, angeben. aber irgendetwas stimmt hier nicht.
der aufruf in einem beitrag sieht so aus:
Code: Alles auswählen
[flv3]http://www.domain.de/videos/video.flv,http://www.domain.de/videos/startbild.jpg,1,640,360[/flv3]
Code: Alles auswählen
[flv3]{URL},{URL2},{NUMBER},{NUMBER2},{NUMBER3}[/flv3]
Code: Alles auswählen
<p id="player{NUMBER}"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<script type='text/javascript'>
var so = new SWFObject('http://www.domain.de/videos/player.swf','ply','{NUMBER2}','{NUMBER3}','9','#ffffff');
so.addParam('allowfullscreen','true');
so.addParam('wmode','opaque');
so.addVariable('author','www.domain.de');
so.addVariable('file','{URL}');
so.addVariable('image', '{URL2}');
so.addVariable('fullscreen','true');
so.addVariable('stretching','fill');
so.write('player{NUMBER}');
</script>
wenn ich das startbild hard codiere, so wird das bild angezeigt:
Code: Alles auswählen
<p id="player{NUMBER}"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<script type='text/javascript'>
var so = new SWFObject('http://www.domain.de/videos/player.swf','ply','{NUMBER2}','{NUMBER3}','9','#ffffff');
so.addParam('allowfullscreen','true');
so.addParam('wmode','opaque');
so.addVariable('author','www.domain.de');
so.addVariable('file','{URL}');
so.addVariable('image', 'http://www.domain.de/videos/startbild.jpg');
so.addVariable('fullscreen','true');
so.addVariable('stretching','fill');
so.write('player{NUMBER}');
</script>
über hilfe würde ich mich sehr freuen