mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Fix git update
This commit is contained in:
parent
af5622a4e9
commit
24a25e4f41
714 changed files with 179203 additions and 179203 deletions
|
@ -1,38 +1,38 @@
|
|||
|
||||
function compress() {
|
||||
console.log("compress");
|
||||
$("#modeYoutubeTop").prependTo("#modeYoutubeBottomContent");
|
||||
$("#avideoTheaterButton").removeClass('ypt-compress');
|
||||
$("#avideoTheaterButton").addClass('ypt-expand');
|
||||
$("#avideoTheaterButton").attr("title","Switch to Theater Mode");
|
||||
$("#avideoTheaterButton").find('.vjs-control-text').text("Switch to Theater Mode");
|
||||
|
||||
Cookies.set('compress', true, {
|
||||
path: '/',
|
||||
expires: 365
|
||||
});
|
||||
isCompressed = true;
|
||||
}
|
||||
function expand() {
|
||||
console.log("expand");
|
||||
$("#modeYoutubeTop").prependTo("#modeYoutubePrincipal");
|
||||
$("#avideoTheaterButton").removeClass('ypt-expand');
|
||||
$("#avideoTheaterButton").addClass('ypt-compress');
|
||||
$("#avideoTheaterButton").attr("title","Switch to Compressed Mode");
|
||||
$("#avideoTheaterButton").find('.vjs-control-text').text("Switch to Compressed Mode");
|
||||
|
||||
Cookies.set('compress', false, {
|
||||
path: '/',
|
||||
expires: 365
|
||||
});
|
||||
isCompressed = false;
|
||||
}
|
||||
function toogleEC() {
|
||||
if (isCompressed) {
|
||||
expand();
|
||||
} else {
|
||||
compress();
|
||||
}
|
||||
}
|
||||
$(document).ready(function () {
|
||||
});
|
||||
|
||||
function compress() {
|
||||
console.log("compress");
|
||||
$("#modeYoutubeTop").prependTo("#modeYoutubeBottomContent");
|
||||
$("#avideoTheaterButton").removeClass('ypt-compress');
|
||||
$("#avideoTheaterButton").addClass('ypt-expand');
|
||||
$("#avideoTheaterButton").attr("title","Switch to Theater Mode");
|
||||
$("#avideoTheaterButton").find('.vjs-control-text').text("Switch to Theater Mode");
|
||||
|
||||
Cookies.set('compress', true, {
|
||||
path: '/',
|
||||
expires: 365
|
||||
});
|
||||
isCompressed = true;
|
||||
}
|
||||
function expand() {
|
||||
console.log("expand");
|
||||
$("#modeYoutubeTop").prependTo("#modeYoutubePrincipal");
|
||||
$("#avideoTheaterButton").removeClass('ypt-expand');
|
||||
$("#avideoTheaterButton").addClass('ypt-compress');
|
||||
$("#avideoTheaterButton").attr("title","Switch to Compressed Mode");
|
||||
$("#avideoTheaterButton").find('.vjs-control-text').text("Switch to Compressed Mode");
|
||||
|
||||
Cookies.set('compress', false, {
|
||||
path: '/',
|
||||
expires: 365
|
||||
});
|
||||
isCompressed = false;
|
||||
}
|
||||
function toogleEC() {
|
||||
if (isCompressed) {
|
||||
expand();
|
||||
} else {
|
||||
compress();
|
||||
}
|
||||
}
|
||||
$(document).ready(function () {
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue