flash in hele breedte

Status
Niet open voor verdere reacties.

xvilo

Gebruiker
Lid geworden
14 dec 2008
Berichten
492
hoi,
ik deze code
HTML:
<body class="sem">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="300" height="26">
  <param name="movie" value="MINIPlayer.swf">
  <param name="quality" value="high">
  <param name="wmode" value="transparent">
  <param name="FlashVars" value="playlistfile=playlist.xml&configurationfile=configuration.xml">
  <embed src="MINIPlayer.swf" quality="high" wmode="transparent" flashvars="playlistfile=playlist.xml&configurationfile=configuration.xml" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="26"></embed>
</object>

maar de vraag is nu hoe ik krijg ik het flash bestandje over de hele pagina breete maar hij moet 26 hoog blijfen

alvast bedankt
 
Dat werkt ook niet.

Het flash bestandje heeft een vaste width waarde en zal zich niet aanpassen aan scherm resolutie.
Stel de flash player is standaard 300px bij 26px dan zal het door een CSS waarde niet ineens 800px breed gaan worden.
Tenzij je het in een div gooit en de flash player centreert, maar dat is volgens mij niet je vraag.
 
dit is mijn code:
HTML:
<!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>Sample Flash Music Player Embed Code</title>
</head>
<body>

<!--
INSTRUCTIONS
* Change autoPlay to "yes" if you want the music track to start automatically once loaded

More instructions at:
http://www.premiumbeat.com/flash_resources/free_flash_music_player/multiple_tracks_mp3_player_menu.php

-->

<!-- Begin Copy/Paste -->

<script type="text/javascript" src="swfobject.js"></script>
		
<div id="flashPlayer">
  This text will be replaced by the flash music player.
</div>

<script type="text/javascript">
   var so = new SWFObject("playerMultipleList.swf", "mymovie", "100%", "4000", "7", "#FFFFFF");  
   so.addVariable("autoPlay","no")
   so.addVariable("playlistPath","playlist.xml")
   so.write("flashPlayer");
</script>

<!-- End Copy/Paste -->

</body>
</html>
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan