upgrading SS 4.4 to JWplayer 5.5

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Re: upgrading SS 4.4 to JWplayer 5.5

Postby BKKKPewsey » Thu Jan 26, 2012 1:56 am

SS 4.6 is using JW Player 5.6 by default so I don't think that would be necessary.
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: upgrading SS 4.4 to JWplayer 5.5

Postby Richard Fearnhead » Sat Jan 28, 2012 2:37 pm

Yeah but JWplayer 5.8 is out now, I assume this method will still work obviously changing 5.5 for 5.8?
Richard Fearnhead
 
Posts: 10
Joined: Sat Jan 28, 2012 12:02 pm

Re: upgrading SS 4.4 to JWplayer 5.5

Postby GJ51 » Sat Jan 28, 2012 5:47 pm

Subsonic Player and ffmpeg update

To update JW Player to the newest version, go to http://www.activeobjects.no/subsonic/fo ... php?t=5977

and read the instructions. Read the whole thread as you'll see there is the long way and the short way. I use the method I suggested as it seemed to be less time consuming. IF I want to know what version of the player I'm running, I'll just fo a right click on the installed player and it will tell me what version it is.

I just downloaded JW 5.X, extract player.swf, rename it to the current name in the subsonic/jetty/xxxx/webapp/flash folder and replace the original file. Rename JW Player 5.4 to Old JW Player 5.4. then drop player.swf into the directory and rename it to JW Player 5.4 when you're done it'll be named 5.4 but if you right click on it in SS you'll se that it's really 5.X
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: upgrading SS 4.4 to JWplayer 5.5

Postby Rcmpayne » Sat Jan 28, 2012 11:01 pm

Hey All,

just a heads up that i have done this to update to 5.6 to 5.8 using the above method. working alot better as well.


swfobject.embedSWF("<c:url value="/flash/jw-player-5.8.swf"/>", "placeholder1", width, height, "9.0.0", false, flashvars, params, attributes);

swfobject.embedSWF("<c:url value="/flash/jw-player-5.8.swf"/>", "placeholder", "340", "24", "9.0.0", false, flashvars, params, attributes);
Rcmpayne
 
Posts: 4
Joined: Sat Dec 17, 2011 12:48 am

Re: upgrading SS 4.4 to JWplayer 5.5

Postby GJ51 » Sat Jan 28, 2012 11:07 pm

Be aware that I have reverted one of my sites to ver 4.5 for Android video palyback. Video playback on my EVO 4G was hanging at the 2/3 mark on all video playback on ver. 4.6, rolling back to 4.5 fixed the problem. Both sites are otherwise identical.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: upgrading SS 4.4 to JWplayer 5.5

Postby Richard Fearnhead » Sun Jan 29, 2012 11:15 pm

Just an update.

I upgraded using 3R3's method and managed to do this the "long" way for 5.8 it took me about a minute to do from the command line using vim to edit. (Mine is a headless Linux Server install)
I prefer to have my code to have consistent version references throughout, just feels like good practise but of-course you could technically name them anything you like so long as they match.

Really impressed with Subsonic so far and looking forward to doing some really cool stuff with it, but that's for another thread.

Thanks for all the great info here it was just what I needed :)
Richard Fearnhead
 
Posts: 10
Joined: Sat Jan 28, 2012 12:02 pm

Re: upgrading SS 4.4 to JWplayer 5.5

Postby GJ51 » Mon Jan 30, 2012 3:03 am

Your probably right, but the way I do it you don't have to edit any of the code pages, which may be easier for anyone not comfortable getting under the hood. Additionally, no matter what you name the player, if you right click on the player bar in SS it will display the correct version number.

Both methods work but after 8 upgrades of SS I'll bet you'll consider the road less traveled by ...
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: upgrading SS 4.4 to JWplayer 5.5

Postby ataris_kid » Wed May 16, 2012 6:31 pm

FYI, I used this approach to replace JWplayer 5.6 with JWplayer 5.9.. But in Subsonic 4.6 there's a couple more mentions of the file:

[root@Sean-Server jsp]# grep -R jw-player *
externalPlayer.jsp: swfobject.embedSWF("<c:url value="/flash/jw-player-5.6.swf"/>", "placeholder", "500", "500", "9.0.0", false, flashvars, params, attributes);
playlist.jsp: swfobject.embedSWF("<c:url value="/flash/jw-player-5.9.swf"/>", "placeholder", "340", "24", "9.0.0", false, flashvars, params, attributes);
rest/videoPlayer.jsp: swfobject.embedSWF("<c:url value="/flash/jw-player-5.6.swf"/>", "placeholder1", "360", "240", "9.0.0", false, flashvars, params, attributes);
videoPlayer.jsp: swfobject.embedSWF("<c:url value="/flash/jw-player-5.9.swf"/>", "placeholder1", width, height, "9.0.0", false, flashvars, params, attributes);

Figured you'd want to replace those instances as well.
User avatar
ataris_kid
 
Posts: 20
Joined: Mon May 14, 2012 5:40 pm

Re: upgrading SS 4.4 to JWplayer 5.5

Postby GJ51 » Wed May 16, 2012 7:26 pm

that's exactly why I just change the new player to the old player's name and replace it - no need to do all those edits.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Previous

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 0 guests