SS 4.4.beta1 / SUB Equalizer + Backstroke / FLAG Counter
Posted: Mon Nov 29, 2010 10:33 pm
1. Include SUB Equalizer and Backstroke plug-in's. Open "/var/subsonic/jetty/????/webapp/WEB-INF/jsp/playlist.jsp" with plain text editor (bold red - changed/included):
The Backstroke plug-in includes several keyboard commands that allow for easy interaction with your video player. A list of the commands and their functions are below:
1.1. Offline use of plug-in's (also prevent blocking of plug-in's from AdBlock, FlashBlock etc.). Download SUB Equalizer (http://plugins.longtailvideo.com/subeq-1.swf) and Backstroke (http://plugins.longtailvideo.com/5/backstroke/backstroke-1.swf) plug-in's and copy to "/var/subsonic/jetty/????/webapp/flash/". Change code in "/var/subsonic/jetty/????/webapp/WEB-INF/jsp/playlist.jsp" to:
2. Register your free FLAC Counter at http://flagcounter.com/. Next open "/var/subsonic/jetty/????/webapp/WEB-INF/jsp/right.jsp" with plain text editor (bold red - included; bold violet - change with your FLAG Counter values):
Modifying Your Flag Counter: "We've made it very simple to make changes to your Flag Counter. You can change your counter's colors, add rows, and much more, at any time. On the bottom of any of your statistics pages (reached after clicking on your counter) there is a "Regenerate HTML" link. Just follow that link and you'll be modifying your existing Flag Counter. When you're finished, just swap out your old HTML code with the new code and you'll be all set!"
Manual Code Modifications: "We have designed our service so that you can change any of your settings instantly, by making simple changes to your Flag Counter code. There are currently 8 different variables that can be modified in your code..." http://flagcounter.com/faq.html#modifying
3. Some optional improvements to High Tech theme. Open "/var/subsonic/jetty/????/webapp/script/hitech.css" with plain text editor (bold red - changed/included; bold gray - removed):
-------
Test server (play track to see equalizer): http://music.stozher.com/login.view?user=guest&password=
...
function createPlayer() {
var flashvars = {
backcolor:"<spring:theme code="backgroundColor"/>",
frontcolor:"<spring:theme code="textColor"/>",
plugins:"backstroke-1,subeq-1&subeq.gain=2&subeq.displaymode=decay&subeq.barbasecolor=00D61B",
id:"player1"
}
var params = {
allowfullscreen:"true",
allowscriptaccess:"always"
}
var attributes = {
id:"player1",
name:"player1"
}
swfobject.embedSWF("<c:url value="/flash/jw-player-5.4.swf"/>", "placeholder", "340", "24", "9.0.115", "false", flashvars, params, attributes);
}
...
The Backstroke plug-in includes several keyboard commands that allow for easy interaction with your video player. A list of the commands and their functions are below:
- * Space bar: pause/resume button;
- * Up and Down arrows: volume controls;
- * Enter or Z: fullscreen mode.
1.1. Offline use of plug-in's (also prevent blocking of plug-in's from AdBlock, FlashBlock etc.). Download SUB Equalizer (http://plugins.longtailvideo.com/subeq-1.swf) and Backstroke (http://plugins.longtailvideo.com/5/backstroke/backstroke-1.swf) plug-in's and copy to "/var/subsonic/jetty/????/webapp/flash/". Change code in "/var/subsonic/jetty/????/webapp/WEB-INF/jsp/playlist.jsp" to:
...
function createPlayer() {
var flashvars = {
backcolor:"<spring:theme code="backgroundColor"/>",
frontcolor:"<spring:theme code="textColor"/>",
plugins:"<c:url value="/flash/backstroke-1.swf"/>,<c:url value="/flash/subeq-1.swf"/>&subeq.gain=2&subeq.displaymode=decay&subeq.barbasecolor=00D61B",
id:"player1"
}
...
2. Register your free FLAC Counter at http://flagcounter.com/. Next open "/var/subsonic/jetty/????/webapp/WEB-INF/jsp/right.jsp" with plain text editor (bold red - included; bold violet - change with your FLAG Counter values):
...
<c:if test="${model.user.adminRole}">
<div id="clearDiv" style="display:none;" class="forward"><a href="#" onclick="clearMessages(); return false;"> <fmt:message key="main.clearchat"/></a></div>
</c:if>
</c:if>
<div style="padding-top: 1em"><a href="http://???.flagcounter.com/more/???" target="_blank"><img src="http://???.flagcounter.com/count/???/bg=0D190E/txt=D2F1D5/border=272727/columns=2/maxflags=30/viewers=3/labels=1/pageviews=1/" alt="Free FLAG Counters!" style="border: 0" /></a></div>
</body>
</html>
Modifying Your Flag Counter: "We've made it very simple to make changes to your Flag Counter. You can change your counter's colors, add rows, and much more, at any time. On the bottom of any of your statistics pages (reached after clicking on your counter) there is a "Regenerate HTML" link. Just follow that link and you'll be modifying your existing Flag Counter. When you're finished, just swap out your old HTML code with the new code and you'll be all set!"
Manual Code Modifications: "We have designed our service so that you can change any of your settings instantly, by making simple changes to your Flag Counter code. There are currently 8 different variables that can be modified in your code..." http://flagcounter.com/faq.html#modifying
3. Some optional improvements to High Tech theme. Open "/var/subsonic/jetty/????/webapp/script/hitech.css" with plain text editor (bold red - changed/included; bold gray - removed):
...
/* The primary foreground color. */
body {
color: #d2f1d5;
background-image:url("../icons/hitech/bg.jpg");
}
...
/* Link hover color */
a:hover, a:hover * {
text-decoration: underline;
color: #00ff00;
}
...
.back {
background-image:url("../icons/coolandclean/back.png");background-position: 0% 0%; background-repeat:no-repeat; padding-left: 16px; line-height: 14px;
}
.forward {
background-image:url("../icons/coolandclean/forward.png");background-position: 0% 0%; background-repeat:no-repeat; padding-left: 16px; line-height: 14px;
}
.mainframe {
background-image:url( "../icons/hitech/bg2.jpg" );
background-repeat:no-repeat;
background-attachment:fixed;
background-position:bottom right;
}
-------
Test server (play track to see equalizer): http://music.stozher.com/login.view?user=guest&password=