2.0.2 ForceFlash setting added
This commit is contained in:
parent
08a1eff8b4
commit
ae49d258fb
3 changed files with 28 additions and 2 deletions
|
@ -191,6 +191,9 @@
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<div class="inputwrap"><input type="checkbox" id="Debug" name="Debug" value="1" title="Enable Debug Mode (Events will be logged to the Javascript Console)"/></div>
|
<div class="inputwrap"><input type="checkbox" id="Debug" name="Debug" value="1" title="Enable Debug Mode (Events will be logged to the Javascript Console)"/></div>
|
||||||
<label for="Debug">Debug Mode</label>
|
<label for="Debug">Debug Mode</label>
|
||||||
|
<div class="clear"></div>
|
||||||
|
<div class="inputwrap"><input type="checkbox" id="ForceFlash" name="ForceFlash" value="1" title="Force Flash (Will force use of Flash for audio)"/></div>
|
||||||
|
<label for="ForceFlash">Force Flash</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="donate" class="subsection floatleft">
|
<div id="donate" class="subsection floatleft">
|
||||||
|
@ -213,6 +216,9 @@
|
||||||
<span class="changes"></span>
|
<span class="changes"></span>
|
||||||
</li>
|
</li>
|
||||||
-->
|
-->
|
||||||
|
<li class="log"><span class="version">7/5/2012 - 2.0.2</span>
|
||||||
|
<span class="changes">Added ability to force Flash on the sound plugin</span>
|
||||||
|
</li>
|
||||||
<li class="log"><span class="version">5/22/2012 - 2.0.1</span>
|
<li class="log"><span class="version">5/22/2012 - 2.0.1</span>
|
||||||
<span class="changes">Drag and drop sorting for Current and all other Playlists</span>
|
<span class="changes">Drag and drop sorting for Current and all other Playlists</span>
|
||||||
<span class="changes">Fixed bug with artist index list</span>
|
<span class="changes">Fixed bug with artist index list</span>
|
||||||
|
|
|
@ -7,7 +7,11 @@ var version;
|
||||||
|
|
||||||
//Sound manager
|
//Sound manager
|
||||||
soundManager.url = 'js/sm/swf';
|
soundManager.url = 'js/sm/swf';
|
||||||
soundManager.preferFlash = false;
|
if ($.cookie('ForceFlash')) {
|
||||||
|
soundManager.preferFlash = true;
|
||||||
|
} else {
|
||||||
|
soundManager.preferFlash = false;
|
||||||
|
}
|
||||||
soundManager.debugMode = false;
|
soundManager.debugMode = false;
|
||||||
//soundManager.useHTML5Audio = true;
|
//soundManager.useHTML5Audio = true;
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,11 @@
|
||||||
} else {
|
} else {
|
||||||
$('#Debug').attr('checked', false);
|
$('#Debug').attr('checked', false);
|
||||||
}
|
}
|
||||||
|
if ($.cookie('ForceFlash')) {
|
||||||
|
$('#ForceFlash').attr('checked', true);
|
||||||
|
} else {
|
||||||
|
$('#ForceFlash').attr('checked', false);
|
||||||
|
}
|
||||||
|
|
||||||
// Tabs
|
// Tabs
|
||||||
$(".tabcontent").hide(); //Hide all content
|
$(".tabcontent").hide(); //Hide all content
|
||||||
|
@ -568,8 +573,19 @@
|
||||||
if ($('#Debug').is(':checked')) {
|
if ($('#Debug').is(':checked')) {
|
||||||
$.cookie('Debug', '1', { expires: 365 });
|
$.cookie('Debug', '1', { expires: 365 });
|
||||||
debug = true;
|
debug = true;
|
||||||
|
} else {
|
||||||
|
$.cookie('Debug', null);
|
||||||
|
debug = false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
$('#ForceFlash').live('click', function () {
|
||||||
|
if ($('#ForceFlash').is(':checked')) {
|
||||||
|
$.cookie('ForceFlash', '1', { expires: 365 });
|
||||||
|
} else {
|
||||||
|
$.cookie('ForceFlash', null);
|
||||||
|
}
|
||||||
|
location.reload(true);
|
||||||
|
});
|
||||||
$('input#Password').keydown(function (e) {
|
$('input#Password').keydown(function (e) {
|
||||||
var unicode = e.charCode ? e.charCode : e.keyCode;
|
var unicode = e.charCode ? e.charCode : e.keyCode;
|
||||||
if (unicode == 13) {
|
if (unicode == 13) {
|
||||||
|
@ -613,4 +629,4 @@
|
||||||
}
|
}
|
||||||
}).disableSelection();
|
}).disableSelection();
|
||||||
|
|
||||||
}); // End document.ready
|
}); // End document.ready
|
Loading…
Add table
Add a link
Reference in a new issue