antes tenia este boton play pause para reproducir musica y este es el codigo con html:
Boton Viejo
Código PHP:
<object type="application/x-shockwave-flash"
data="objetos/angular2.swf?src=audio.php/<?php echo $ruta_del_mp3 ?>"
height="30" width="30">
<param name="movie"
value="objetos/angular2.swf?src=audio.php/<?php echo $ruta_del_mp3 ?>" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
</object>
pero aora quiero utilisar este otro y poner la url de la misma forma que en el anterior:
pero no se como hacerlo,..
Boton Niuebo
Código PHP:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="590" height="300" id="../../../Users/laptop/Samples/image_shiner_logo_sample" align="middle">
<param name="movie" value="../../../../Users/laptop/Samples/image_shiner_logo_sample.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="../../../../Users/laptop/Samples/image_shiner_logo_sample.swf" width="590" height="300">
<param name="movie" value="../../../../Users/laptop/Samples/image_shiner_logo_sample.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtener Adobe Flash Player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
esto es lo del flash del boton nuevo, la verdad no entiedo mucho de esto espero me puedan ayudar, gracias..
Código PHP:
onClipEvent(load) {
// the file path of the MP3 file that will be played.
targetMP3 = "music/rutas.mp3";
// this variable tells Flash how loud the volume of the audio should be. 100 = max (loudest), 0 = min.
audioVolume = 100;
// the main hex color of the button.
mainColor = "00CCCC";
// the secondary hex color of the button.
accentColor = "00CCCC";
// action performed when the MP3 finishes. Set to "loop", "next", "nextAndLoop", or "none".
whenFinished = "none";
// when set to true, music will start playing automatically,
playAtStart = false;
// when set to true, music stops when the button is pressed. When set to false, music will pause instead.
stopWhenPressed = false;
// when set to true, snaps the movie clip to whole pixel coordinates.
snapPosition = true;
// when set to true, pressing this button will stop other audio buttons on the same movie clip.
stopOthers = true;
// when set to true, pressing this button will stop all audio buttons in the movie.
stopAll = false;
}