Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Yahoo Media Player aka Yahoo Web Player Script Not Found

I have been working on a Ruby on Rails application recently. We were using Yahoo Web Player to play our audio and video files. It worked really nice, especially for tablets and smartphones which do not allow the use of Flash. However to my horror I noticed this morning that it no longer works. When I view the page source it says that the script is missing. When I check the old link for Yahoo Web Player it forwards to the home page. When I check the Yahoo web site they say nothing about it. It looks like they have gotten rid of it with no announcement. It was working this weekend but today it does not work.

I am looking for suggestions for a free HTML5 media player that will not take up too much space when it is launched. Basically I am looking for a player that does not display until a MP3 or YouTube link is clicked. If not I will settle for a hybrid HTML5/Flash media player.

Any help would be appreciated. I am continuing to search but so far have found nothing.

UPDATE 7/3/2013 8:00 pm CDT GMT-5: I took the suggestion of David and copied the script from his link and created player.js in my public folder. I tested this and it worked well. However I noticed that there was another link in the script with a Yahoo URL http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js. Just to be safe I copied this script into a text file named yui-min.js and changed the link in player.js to point to my file instead. Yahoo Web Player still works nicely. Oh what a relief!!!!

like image 952
xxx Avatar asked Jul 02 '13 15:07

xxx


3 Answers

I don't know how long this link will work, but it is the source code of the Yahoo Web Player. I saved it into notepad and named it player.js. I changed my website code to access this new file, and I have everything working again! Awesome! Here's the link: http://webplayer.yahooapis.com/player-beta.js

like image 120
David Avatar answered Sep 28 '22 13:09

David


You can get the old webplayer script here:

https://code.google.com/p/rahh/downloads/detail?name=player.js&can=2&q=

like image 42
Jay Avatar answered Sep 28 '22 11:09

Jay


As Nathaniel Granor pointed out, they have disabled the player. Their beta build is still up for the time being at: http://webplayer.yahooapis.com/player-beta.js

However it may not work as intended. After reviewing the sourcecode of the player, it makes calls to the yahoo cdn in a few places that are also down, effectively breaking the player's performance. These three lines appear to be the problem:

YMPParams["assetsroot"]=YMPParams["assetsroot"]||"http://l.yimg.com/pb/webplayer"+"/"+"0.9.76";
YMPParams["wsroot"]=YMPParams["wsroot"]||"http://ws.webplayer.yahoo.com";
YMPParams["wwwroot"]=YMPParams["wwwroot"]||"http://webplayer.yahoo.com";

Unless anyone has archived the content from these links, you will most likely have to get another media player for your site.

like image 32
mopsyd Avatar answered Sep 28 '22 12:09

mopsyd