Page 1 of 2
upgrading SS 4.4 to JWplayer 5.5
Posted:
Wed Mar 16, 2011 4:51 pm
by 3R3
This is tested on ubuntu linux standalone install, though any installation with a "subsonic/jetty/xxxx"-like folder tree should be ok too.
to upgrade SS 4.4 to the current JWplayer 5.5, just get the "mediaplayer.zip" from
http://www.longtailvideo.com/players/jw-flv-player/ and drop the "player.swf" therein into your "subsonic/jetty/xxxx/webapp/flash" folder. Watch out to UNCHECK the "include viral plugin"-checkbox over the download button and email field, or else you are stuck with a "menu"-button on the new player!
Rename to "jw-player-5.5.swf" for safety/backup purposes.
[AUDIO PLAYER]
in "subsonic/jetty/xxxx/webapp/WEB-INF/jsp" in playlist.jsp find:
- Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-5.4.swf"/>", "placeholder", "340", "24", "9.0.0", false, flashvars, params, attributes);
replace with:
- Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-5.5.swf"/>", "placeholder", "340", "24", "9.0.0", false, flashvars, params, attributes);
[VIDEO PLAYER]
in "videoPlayer.jsp" find:
- Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-5.4.swf"/>", "placeholder1", width, height, "9.0.0", false, flashvars, params, attributes);
replace with:
- Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-5.5.swf"/>", "placeholder1", width, height, "9.0.0", false, flashvars, params, attributes);
EDIT: fixed below "bug", see 2nd paragraph.
Though I havent tried to remove the annoying "menu" button on the new player. Maybe someone knows how to do this?
EDIT: this fixes the "2-3 seconds cut off at the end of a track" bug in SS/JWPlayer.
Posted:
Wed Mar 16, 2011 5:27 pm
by GJ51
If I remember correct, the simple cheat is to just rename the 5.5 to 5.4 and replace the old player file. I'm not positive, but I think if you uncheck the "Viral" player when you download you won't get the version with the menu.
Thanks for the location update.
Posted:
Wed Mar 16, 2011 5:30 pm
by 3R3
GJ51 wrote:If I remember correct, the simple cheat is to just rename the 5.5 to 5.4 and replace the old player file. I'm not positive, but I think if you uncheck the "Viral" player when you download you won't get the version with the menu.
Thanks for the location update.
Yes, maybe my wording was a bit strange :3 I am positive it is as you and I describe. Have just fiddled until it worked. About 3 browser cache flushs and 4 jetty ones, it finally did!
The reason I suggested to change the jsp files was to keep track which version is loaded, and to be able to switch back fast if needed. And I dont like to have wrong values in my servers jsp files (version 5.4 called when the file is actally a renamed 5.5...)
Posted:
Thu Mar 17, 2011 1:24 pm
by jeffcavicchi
Hey guys-
I believe I was able to upgrade last night - took the player file, renamed it to the same thing as the older file, and replaced the older file. Performance seems much improved - but I'm wondering if there is any way to confirm the upgrade. The player does not look any different...any other clues as to what version of the player is running?
Thanks!
Posted:
Thu Mar 17, 2011 1:41 pm
by privatesam
Thanks for this tutorial. I actually tried this the other day but didn't change the details in the videoplayer.jsp as well so it didn't work. Gonna give it another go tonight with these new instructions.
Hoping 5.5 might be a shade better at buffering my videos - wishful thinking maybe but we'll see!
Posted:
Thu Mar 17, 2011 1:46 pm
by jeffcavicchi
I didn't change the command lines - I just renamed the new player so that it matched the old player, and then replaced the old player. I believe that is what Gary was suggesting...
Posted:
Thu Mar 17, 2011 1:57 pm
by privatesam
I know. I realise you didn't change the transcoding settings but me and Chimatt have had some weird buffering issues that Chimatt thinks are related to how JWPlayer deals with the picking up and dropping the buffer which we have discussed at this thread:
http://forum.subsonic.org/forum/viewtop ... highlight=
I know its unlikely an iterative JWPlayer will fix these issues but its certainly worth a go - plus I'm a version junkie.
Posted:
Thu Mar 17, 2011 4:53 pm
by 3R3
jeffcavicchi wrote:Hey guys-
I believe I was able to upgrade last night - took the player file, renamed it to the same thing as the older file, and replaced the older file. Performance seems much improved - but I'm wondering if there is any way to confirm the upgrade. The player does not look any different...any other clues as to what version of the player is running?
Thanks!
right-click on the player. at the top of the pop-up menu the version is stated.
privatesam wrote:I know. I realise you didn't change the transcoding settings but me and Chimatt have had some weird buffering issues that Chimatt thinks are related to how JWPlayer deals with the picking up and dropping the buffer which we have discussed at this thread:
http://forum.subsonic.org/forum/viewtop ... highlight=I know its unlikely an iterative JWPlayer will fix these issues but its certainly worth a go - plus I'm a version junkie.
For me it did indeed fix the issue with cut-off start and end of songs.
Posted:
Thu Mar 17, 2011 5:02 pm
by jeffcavicchi
Thanks!
I was indeed still using 5.4. I cleared the browser cache and flash cache, and viola! now I am using 5.5!
Thanks for the help!
Posted:
Fri Mar 18, 2011 4:17 pm
by jeffcavicchi
Unfortunately, while the new player is working fine for me, it hasn't solved the problem I am having with a slight hesitation at the beginning of certain tracks...
Guess I'll have to wait and see if the next version of SS solves the problem.
Posted:
Sat Mar 19, 2011 7:06 pm
by GJ51
jeffcavicchi wrote:Unfortunately, while the new player is working fine for me, it hasn't solved the problem I am having with a slight hesitation at the beginning of certain tracks...
Guess I'll have to wait and see if the next version of SS solves the problem.
Jeff it sounds a bit more like you're problem may be with your files. Have you tried any library cleaner utilities?
Posted:
Sat Mar 19, 2011 7:12 pm
by jeffcavicchi
I agree, bur I'm not sure what the problem is. I've tried MP3Diags and VBRFix, and neither one finds any problems with the files. Also, some of them were ripped as MP4s using Winamp and then converted to MP3s using Tuneconvert, while some were ripped as VBR MP3s using FreeRip - and yet all of them exhibit the same problem. None of the MP3s I've purchased have the hesitation, so it's got to be something with the files...
OTOH, all of the files that have that slight hesitation using SS do not have the same problem when using Winamp or any other desktop player - so there is something about the combination of the files and SS that is causing this.
If anyone feels like helping out, I can zip a couple of the tracks I know do this and email them - maybe someone who knows more about MP3 headers, etc, can figure out what the problem is.
(While I was typing this the track that just started hesitated...)
Posted:
Thu Mar 24, 2011 9:00 am
by privatesam
I successfully did this update and feel that there is a slight improvement with JWPlayer. Thanks for explaining how to do this.
Posted:
Sun Jun 19, 2011 4:36 am
by pkwalker00
I have successfully used this method to upgrade to JWPlayer 5.6, but is there a way to use the new html5 capabilities?
Re: upgrading SS 4.4 to JWplayer 5.5
Posted:
Wed Jan 25, 2012 10:56 pm
by Beowolf
can some just make a patch and say drop here.... i am codeless