Fazer rodar mp3, com um player na página. muito fácil e simples

:wink:

alo. estava precisando fazer funcionar, uns arquivos mp3, sem download. olha só que fácil…
peguei na net… vale divulgar.
:slight_smile:
os autores> www.jeroenwijering.com
mail@jeroenwijering.com

:smiley:
basta colocar:







onde o arquivo esta apos o file.

e enviar ao servidor, o singlemp3player.swf, que vou por aqui anexo, sozinho e zipado com o projeto.

valeu… :-o

veja na minha página como ficou www.raghyjose.net
e tem outros modelos também.

achei aqui:
http://www.sean-o.com/jquery/jmp3/ 8)

abaixo segue o read me.

falei do read me

http://www.sean-o.com/jquery/jmp3/

HI GUYS

thanks for downloading my flash single mp3 player. the player supports
streaming playback and scrubbing of an mp3. Various parameters of the
player can be set: the file to play, the song volume, autostarting,
autorepeating, the colors of the player and showing of a downlad button.

INSTALLING

First upload the singlemp3player.swf and the mp3 file you want to play
to your webserver. Then open the html page in which you want the player
to embed. There you can insert the embed code for the flash. If you want
to use the default parameters of the mp3player, you’re done !

There are a couple of parameters you can set. You have to set them twice
in the code block, one version for Internet Explorer and one for Firefox:

  • width(25 or up; the height should always be 20)
  • file (default is “sound.mp3”, ou can also use an absolute URL)
  • songVolume (0 to 100)
  • backColor (hexvalue, eg. ff0000 for red)
  • frontColor (also hexvalue)
  • autoStart (true or false)
  • repeatPlay (true or false)
  • showDownload (true or false)

The singlemp3player.html included in this download has 3 examples of
html code. View it in your editor to get the html codes.

USE INSIDE A FLASH MOVIE

You can just copy-paste the entire movieclip from singlemp3player.fla to
your flash movie. If you open the movieclip, all parameters you have to
change can be found at the top of the actionscript.

HINTS

the singlemp3player is made with Flash 8. The FLA cannot be opened in
previous versions of Macromedia Flash. You also need the Flash Player 8
installed in your website for the mp3player to view.

The mp3player accepts only MP3 files and a couple of Shoutcast streams.

LICENSING

This script is licensed under a Creative Commons License.
(http://creativecommons.org/licenses/by-nc-sa/2.5/) It allows
you to use, modify and redistribute the script as long as you use
it non-commercially and credit me as the author. For commercial use,
I distribute licenses of the script at a fee of 15 euros. Please
contact me if you’d like to obtain one !

UPDATES

2.0: first release of the script, in line with the regular Flash MP3 Player.

SUPPORT

Check out my Flash MP3 Player Forums for questions or hints regarding
this script.

GOOD LUCK


mail@jeroenwijering.com

tambem foi uma carinha no codigo:

do you wanna dance







Olá.

Quando for colocar códigos, coloque eles entre as tags code.

Assim:

seu código

opa, esqueci. quer dizer, nao esqueci de fato, porque nao associei este código a um código java. mas em todo caso… valeu a lembrança. e gostou do post? testou ?

RaghJosé Strikes Back!

Pra isso precisa ter o plugin do flash, correto?

ola, é preciso ter no servidor, o arquivo
singlemp3player.swf

e aquele código ali, onde a carinha é um : dois pontos

quanto ao plugin, geralmente tudo que usamos de flash, as vezes precisa. de fato nao sei. vc testou e nao funcionou, pediu plugin ?

nao instalei nada novo, talvez minha máquina já tenha, o que com certeza tem.

aguardo contato…
mas diga-me o que quer dizer com strikes back.
abraço. até logo.

use as tags de [code] para qualquer tipo de postagem de códigos!

P.S. -> parece bom o post pena que estou sem tempo para testar!

vlw