Fixed minor incorrect belief in README.MD

This commit is contained in:
Tamius Han 2016-10-22 21:25:19 +02:00
parent 62e6591e30
commit 59aa4f1612
4 changed files with 22 additions and 24 deletions

View File

@ -24,7 +24,7 @@ This extension also allows you to zoom in or out of video (similar to how SMPlay
### Permanent install
[v0.9.7 — Experimental version — download from here](http://tamius.net/ultrawidify) — If 30 minutes old is stable enough for you, this is it. This version is pretty much code from this repo. It's also unlisted so I don't have to go through AMO for every minor change.
[v0.9.8 — Experimental version — download from here](http://tamius.net/ultrawidify) — If 30 minutes old is stable enough for you, this is it. This version is pretty much code from this repo. It's also unlisted so I don't have to go through AMO for every minor change.
[v0.9.1 — Regular version — download from AMO](https://addons.mozilla.org/en/firefox/addon/ultrawidify/) — more stable and with AMO's approval. No experimental features either.
@ -84,5 +84,9 @@ Keybind `a` just doesn't work at all, so no 16:10.
###v0.9.7
* No new features added. Version number got incremented due to an attempt at autoupdating (which got foiled due to lack of HTTPS)
###v0.9.8
* Added GUI/buttons on the player.
* Script now only loads on youtube pages (iframes included) (before, this script would run on any page)

View File

@ -118,6 +118,8 @@ function addCtlButtons(provider_id){
console.log("uw::addCtlButtons | buttons added");
}
// Ta funkcija se proži, ko vstopimo ali izstopimo iz celozaslonskega načina
// This function gets triggered by full screen state change
function onFullScreenChange(){
// Popravimo velikost gumbov
// Let's fix the button size:
@ -130,32 +132,17 @@ function onFullScreenChange(){
}
// Ta funkcija se proži, ko gremo v celozaslonski način
// This function triggers when we enter fullscreen mode
function onFullscreenOn(){
// TODO: show buttons
// var button_row = document.getElementsByClassName("ytp-right-controls")[0];
//
// console.log("uw:: Full screen is now on");
// var t = document.createTextNode("but");
//
// var b_fitw = document.createElement('button');
//
// b_fitw.appendChild(t);
//
//
// // b_fitw.id = "uw_b_fitw";
// b_fitw.className = "ytp_button";
// b_fitw.onclick = function() { changeCSS("fitw"); };
// // b_fitw.appendChild("<img src='img/fitw.png' height='100%' />");
//
// button_row.appendChild(b_fitw);
//
// // var b_fith = document.createElement('button');
//
// console.log("uw:: added buttons");
}
// Ta funkcija se proži, ko gremo ven iz celozaslonskega načina
// This function triggers when we leave fullscreen mode
function onFullscreenOff(){
//TODO: hide buttons
}
function changeCSS(what_do){
@ -453,7 +440,9 @@ function changeCSS_nofs(what_do, video, player){
left = (player.width - w) / 2;
if (h > player.height * 4){
console.log("okay mate you took this shit way too far now. I'm not doing shit");
console.log("But this is bigger than some rooms, this is bigger than some people's flats!");
// Insert obligatory omnishambles & coffee machine quote here
console.log("(No really, mate, you took this way too far already)");
return;
}
}

View File

@ -4,6 +4,11 @@
"name": "Ultrawidify",
"version": "0.9.8",
"icons": {
"32":"icons/uw-32.png",
"64":"icons/uw-64.png"
},
"description": "Aspect ratio fixer for youtube that works around some people's disability to properly encode 21:9 (and sometimes, 16:9) videos.",

BIN
ultrawidify.zip Normal file

Binary file not shown.