Unsuccessful first shot
I am running the webserver on Ubuntu karmic, with lighttpd server.
When I wanted to listen to the music it didn't work and the slider kept "pumping" from left to right.
- Firefox 3.5.7 (shockwave flash 10.0 R42)
- Curiously, it works in KDE Konqueror !
- It could have something to do with the integration in Ubuntu of Shockwave flash player. - Anything with the buffering parameters ?
 First call of the player with id="audioplayer1"
In fact I had the whole solution on the extension review by scoob.junior who did a great job.
Yes, I had changed the code in to the following: $this->playerJSFile=CHtml::asset($assets.DIRECTORY_SEPARATOR.$this->playerJSFile); $cs=Yii::app()->clientScript; if($cs->isScriptRegistered($this->playerJSFile)===false) $cs->registerScriptFile($this->playerJSFile);
Yes I was using Flashplayer 10
No, I hadn't downloaded the last version from http://wpaudioplayer.com/download
After downloading, I just had to replace player.swf and audio-player.js with the new ones featuring each about 11kb then do some refreshing (remove and replace old player.swf and audio-player.js from the assets and Shift-reload in the browser). Then It was OK. So even the worst tester of the Yii Far West - the one who misses what is so obvious under her eyes - did it. APPROVED !
 Second call to the player with id="audioplayer2"
This shows that you can have on the same page multiple displays of the audio-player.
To make the display from a post:
<object data="/assets/1797d4b0/player.swf" type="application/x-shockwave-flash" height="24" id="audioplayer2" width="290"> <param name="movie" value="/assets/1797d4b0/player.swf" /> <param name="FlashVars" value="playerID=1&rightbg=0xcccccc&soundFile=/assets/6eec78a8/blah.mp3" /> </object>
To make the display from a static page from where you can use Yii instructions:
Hey Hey ! Marine I am on my way to add some music to your DISCARDEDteenz blog !