Hi Rubio,

Yep, as I remember eiter Flash object, either content should be a
path, and another one should be a URL. So, if the Flash player
requires just a path (/swf/playerMultipleList.swf), then I think that
the content should be provided as a full URL (http://www.theapp.com/
Sounds/song.mp3)

Dmitry

On Apr 21, 11:30 pm, Rubio Ramirez <[email protected]>
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
>
> Attachments:http://www.ruby-forum.com/attachment/3602/sounds_html.doc
>
> --
> Posted viahttp://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