Rubio Ramirez wrote:
> Dmitry Sokurenko wrote:
>> Not sure, but some Flash players require not the path, but an absolute
>> URL, so instead of having:
>>   ../../../public/swf/playerMultipleList.swf
>> 
>> you should generate something like:
>>  http://www.theapp.com/swf/playerMultipleList.swf
>> 
>> And also there should be no 'public' in the URL.
>> 
>> Dmitry
> 
> Dmitry - please see the attachment!
> 
> It's working now, but with the path specified simply as 
> /swf/playerMultipleList.swf.  Problem seemed to be an incorrect 
> swfobject.js. As soon as I copied the original from the download to the 
> #{RAILS_ROOT}/public/javascripts folder, the player appeared however, 
> unfortunately there's still a problem .. the tracks don't appear (get 
> undefined where a track should be) even though I used the same pathing 
> convention to point to public/Sounds (should evaluate to 
> #{RAILS_ROOT}/public/Sounds just as the swf path evaluated to 
> #{RAILS_ROOT}/public/swf and found the player.
> 
> At first I thought this problem would be a piece of cake, but now after 
> trying the same convention I just mentioned, as well as the relative 
> path, and absolute path to the myPlayList.xml still just "undefined" for 
> the track .. please see the attachment for a screen shot of this. and 
> the current code as well.
> 
> If you have any ideas, it's greatly appreciated.
> 
> Thanks for your time

Rubio,

I'm having this same problem.  I tried relative paths and then an 
absolute path http://localhost:3000/public/music/playlist.xml and could 
not get it to work.  How did you solve this?

Thanks,
Kelly
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to