Mobile app version of vmapp.org
Login or Join
Ravi8258870

: Yahoo media player not working with Ruby on rails I have a yahoo media player embedded in my webpage. I am currently using Ruby on Rails to create/edit my web page. When i click the play

@Ravi8258870

Posted in: #Audio #RubyOnRails

I have a yahoo media player embedded in my webpage. I am currently using Ruby on Rails to create/edit my web page. When i click the play button next to a track the YMP waits a while and then goes to the next track without playing the first one. I then get a warning on my second (last) track that its file could not be found.

Does anyone has a better recommendation for an audio player or a way to fix this one?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ravi8258870

1 Comments

Sorted by latest first Latest Oldest Best

 

@Harper822

Based on your comments above, it sounds like you're testing Yahoo Media Player on a Mac by double clicking the .html file, resulting in a URL like file:///path/to/your/file.html, or using the built-in Ruby on Rails test server.

Having tried it myself, that doesn't work. Yahoo Media Player only loads correctly when the URL in your browser's address bar starts with and when the audio/video file is hosted on a remote server.

I suggest that you either:


Upload your html/RoR app and audio file to a remote server and adjust the mp3 path accordingly;

-- or --
Upload the audio file to a remote server (it will not work if stored locally), update the audio file's path, and browse to your local RoR test URL to try it. (If you're not using the Rails test server, you'll need to host the html file locally in your /~Sites/ directory, turn Web Sharing on, and browse to 'http://localhost/~User/test.html` to test it.)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme