Minor fixes, updated readme with beggathon.

This commit is contained in:
Tamius Han 2018-01-28 02:35:05 +01:00
parent 97b7adc55a
commit 3cccaa37ae
3 changed files with 22 additions and 10 deletions

View File

@ -13,6 +13,10 @@ Works on Youtube and Netflix. Available for [Firefox (v2.0.3)](https://addons.mo
**Click for [youtube demo](https://www.youtube.com/watch?v=j2xn1WpbtCQ):**
[![Ultrawidify - youtube demo](https://img.youtube.com/vi/j2xn1WpbtCQ/0.jpg)](https://www.youtube.com/watch?v=j2xn1WpbtCQ)
## Beggathon
Working on this extension takes time, coffee and motivation. If you want to buy me a beer or something, you can [use this link to send me motivation](https://www.paypal.me/tamius). Money will be spent on Netflix and coffee/tea.
## The long version
The technology has been here for a while, but plenty of people don't know how to properly encode a video (despite the fact [youtube has an article that explains aspect ratios](https://support.google.com/youtube/answer/6375112)). Plenty of people surprisingly includes major Holywood studios, such as [Marvel](https://www.youtube.com/watch?v=Ke1Y3P9D0Bc), [Disney](https://www.youtube.com/watch?v=yCOPJi0Urq4), [Dreamworks](https://www.youtube.com/watch?v=oKiYuIsPxYk), [Warner Brothers](https://www.youtube.com/watch?v=VYZ3U1inHA4), [Sony](https://www.youtube.com/watch?v=7BWWWQzTpNU), et cetera. You'd think that this is the one thing Holywood studios and people who make [music videos for a living](https://www.youtube.com/watch?v=c6Mx2mxpaCY) would know how to do right, but they don't. This extension is here to fix that.
@ -61,7 +65,7 @@ Manually triggering aspect ratio change will suspend automatic aspect ratio dete
[v2.0.3 — Regular version — download from AMO](https://addons.mozilla.org/en/firefox/addon/ultrawidify/)
[v2.0.2 — Regular version — download from Chrome store](https://chrome.google.com/webstore/detail/ultrawidify/dndehlekllfkaijdlokmmicgnlanfjbi)
[v2.0.3 — Regular version — download from Chrome store](https://chrome.google.com/webstore/detail/ultrawidify/dndehlekllfkaijdlokmmicgnlanfjbi)
### Installing the current, github version
@ -83,11 +87,17 @@ Manually triggering aspect ratio change will suspend automatic aspect ratio dete
## Changelog
### v2.0.3 (FF/AMO)
### v2.1.0 (Git)
* Popup should work more reliably now in Chrome, but sometimes not in FF (?)
* Twitch works
* Keyboard shortcuts broken on Firefox/twitch
### v2.0.3 (FF/AMO, Chrome)
* Fixed the bug where Netflix videos weren't vertically centered in Firefox 57+ (not present in Chrome or FF 56 or earlier)
### v2.0.2 (Chrome)
### v2.0.2
v2.0.1, but UI in the extension button now also works in Chrome.

View File

@ -108,7 +108,7 @@ var _com_sendToEachFrame = async function(message, tabId) {
if(Debug.debug)
console.log("[Comms::_com_sendToEveryFrame] sending message to every frames of currenntly active tab");
try{
// try{
if(tabId === undefined){
var tabs = await browser.tabs.query({currentWindow: true, active: true});
tabId = tabs[0].id;
@ -149,11 +149,11 @@ var _com_sendToEachFrame = async function(message, tabId) {
console.log("[Comms::_com_sendToEveryFrame] we received responses from all frames", responses);
return responses;
}
catch(e){
console.log("[Comms::_com_sendToEveryFrame] something went wrong when getting frames. this is error:", e);
return Promise.reject();
}
// }
// catch(e){
// console.log("[Comms::_com_sendToEveryFrame] something went wrong when getting frames. this is error:", e);
// return Promise.reject();
// }
}
var Comms = {

View File

@ -37,7 +37,9 @@ async function main(){
await scpromise;
await kbpromise;
// globalVars: lastAr type = original
GlobalVars.lastAr = {type: "original"};
if(Debug.debug)
console.log("configuration should be loaded now");
// start autoar and setup everything