Page 1 of 1

in Subsonic 5.0+ "Open in new window" link missing/removed!

PostPosted: Tue Feb 24, 2015 9:44 pm
by civil7
"Open in new window" - This is a link that normally appears right under a video when playing it. Click on this link would open the video in a new resizeable browser window. This link/feature was introduced in (see below) Subsonic version 4.4 beta 1 - version 4.9 until Subsonic version 5.0 where is seems to have been removed or missing.

--------------------portion of change log----------------------
Subsonic 4.4.beta1 - Jan 20, 2011

...
New: Added option to open video in resizable window.
...
-------------------------------------------------------------------

Is there anyway to fix this so this link appears in subsonic 5.0+ ?

I am unable to upgrade to newer versions of subsonic without this key feature.

Any help / suggestions is appreciated.

Thanks!

- Ian

Re: in Subsonic 5.0+ "Open in new window" link missing/remov

PostPosted: Wed Feb 25, 2015 9:36 pm
by civil7
Here are my findings; Can anyone else make this work?

I've had partial success by editing the videoplayer.jsp and resourcebundle.properties files. Now it shows the "Open in new window" link, but doesn't work. Clicking on it does nothing. What am I missing?

Here's what I've figured out:

file location: subsonic\jetty\4411\webapp\WEB-INF\classes\net\sourceforge\subsonic\i18n

resourcebundle.properties - (section) BEFORE:
---------------------------
# videoPlayer.jsp
videoPlayer.getflash = Please install Flash Player
videoPlayer.getpremium = Get <b><a href='premium.view?' target='main'>Subsonic Premium</a></b> to play on Chromecast.
---------------------------

resourcebundle.properties - (section) AFTER:
---------------------------
# videoPlayer.jsp
videoPlayer.getflash = Please install Flash Player
videoPlayer.getpremium = Get <b><a href='premium.view?' target='main'>Subsonic Premium</a></b> to play on Chromecast.
videoPlayer.popout = Open in new window
---------------------------

file location: subsonic\jetty\4411\webapp\WEB-INF\jsp

videoPlayer.jsp - (section) BEFORE:
---------------------------
<div class="back" style="float:left;padding-right:2em"><a href="${backUrl}"><fmt:message key="common.back"/></a></div>
<div style="clear: both"></div>

</body>
</html>
---------------------------

videoPlayer.jsp - (section) AFETR:

---------------------------
<div class="back" style="float:left;padding-right:2em"><a href="${backUrl}"><fmt:message key="common.back"/></a></div>
<div class="forward" style="float:left;"><a href="javascript:popout();"><fmt:message key="videoPlayer.popout"/></a></div>
<div style="clear: both"></div>

</body>
</html>
---------------------------