HTML to vaadin

Hello all,

How can I embed the following into my vaadin application.



Thanks,

Siva.

Hi,

You can try
SWFObject add-on
. By means of its API you can pass all those parameters.

cheers,
sasha.

Hi Alexander ,

Thanks for your reply. I tried adding


SWFComponent flashAudio = new SWFComponent(“http://www.google.com/reader/ui/3523697345-audio-player.swf",“250px”,"250px”);
flashAudio.setFlashVar(“audioUrl”, “http://www.a1sounddownload.com/freesounds5/alarmring.mp3”);

I can see the flash player but I can not listen to the sound. PLease Help me.

Thanks,
Siva

Hi,

I guess the problem is that the audio file is not actually accessible - I have tried with the URl of my own audio file - worked just fine.

Hello,
Thanks a lot for ur reply.

Even I tried with different URL like


String MP3_FILE_URL=“http://mirrors.creativecommons.org/ccmixter/contrib/Wired/David%20Byrne%20-%20My%20Fair%20Lady.mp3”;
flashAudio.setFlashVar(“audioUrl”, “MP3_FILE_URL”);
flashAudio.setSrc(“http://www.google.com/reader/ui/3523697345-audio-player.swf”);

but no good news for me. Can you send me the url and the code u applied.

Thanks,
Siva

Hi Thank’s a Ton. That’s working great.