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.