Page 2 of 2

Re: upgrading SS 4.4 to JWplayer 5.5

PostPosted: Thu Jan 26, 2012 1:56 am
by BKKKPewsey
SS 4.6 is using JW Player 5.6 by default so I don't think that would be necessary.
:mrgreen:

Re: upgrading SS 4.4 to JWplayer 5.5

PostPosted: Sat Jan 28, 2012 2:37 pm
by Richard Fearnhead
Yeah but JWplayer 5.8 is out now, I assume this method will still work obviously changing 5.5 for 5.8?

Re: upgrading SS 4.4 to JWplayer 5.5

PostPosted: Sat Jan 28, 2012 5:47 pm
by GJ51
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

Re: upgrading SS 4.4 to JWplayer 5.5

PostPosted: Sat Jan 28, 2012 11:01 pm
by Rcmpayne
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);

Re: upgrading SS 4.4 to JWplayer 5.5

PostPosted: Sat Jan 28, 2012 11:07 pm
by GJ51
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.

Re: upgrading SS 4.4 to JWplayer 5.5

PostPosted: Sun Jan 29, 2012 11:15 pm
by Richard Fearnhead
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 :)

Re: upgrading SS 4.4 to JWplayer 5.5

PostPosted: Mon Jan 30, 2012 3:03 am
by GJ51
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 ...

Re: upgrading SS 4.4 to JWplayer 5.5

PostPosted: Wed May 16, 2012 6:31 pm
by ataris_kid
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.

Re: upgrading SS 4.4 to JWplayer 5.5

PostPosted: Wed May 16, 2012 7:26 pm
by GJ51
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.