mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 09:27:03 +03:00
Removed jquery-backstretch that handled the UserBackground
The UserBackground is now handled with CSS3 on body.thm-body This allowed me to remove the #rl-bg so that the "video-on-login-screen" plugin will not work indefinitely.
This commit is contained in:
parent
213f5d183e
commit
412d69ce75
22 changed files with 30 additions and 869 deletions
|
|
@ -1,47 +0,0 @@
|
|||
(function ($, window) {
|
||||
|
||||
$(function () {
|
||||
|
||||
if (window.rl && window.rl && !window.rl.settingsGet('Auth'))
|
||||
{
|
||||
var
|
||||
iRate = 1,
|
||||
sRate = window.rl.pluginSettingsGet('video-on-login-screen', 'playback_rate')
|
||||
;
|
||||
|
||||
switch (sRate)
|
||||
{
|
||||
case '25%':
|
||||
iRate = 0.25;
|
||||
break;
|
||||
case '50%':
|
||||
iRate = 0.5;
|
||||
break;
|
||||
case '75%':
|
||||
iRate = 0.75;
|
||||
break;
|
||||
case '125%':
|
||||
iRate = 1.25;
|
||||
break;
|
||||
case '150%':
|
||||
iRate = 1.5;
|
||||
break;
|
||||
case '200%':
|
||||
iRate = 2;
|
||||
break;
|
||||
}
|
||||
|
||||
$('#rl-bg').vide({
|
||||
'mp4': window.rl.pluginSettingsGet('video-on-login-screen', 'mp4_file') || '',
|
||||
'webm': window.rl.pluginSettingsGet('video-on-login-screen', 'webm_file') || '',
|
||||
'ogv': window.rl.pluginSettingsGet('video-on-login-screen', 'ogv_file') || ''
|
||||
}, {
|
||||
playbackRate: iRate,
|
||||
muted: !!window.rl.pluginSettingsGet('video-on-login-screen', 'muted')
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}($, window));
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue