Added new blog post: Flickery Fakery
This commit is contained in:
parent
2d9bce28d3
commit
88ab0cd106
10 changed files with 201 additions and 83 deletions
|
|
@ -2269,7 +2269,7 @@ class Video extends Component {
|
|||
* screen "flicker".
|
||||
*/
|
||||
this.colorScreen = parmsVideo['screenColor'] || "black";
|
||||
this.opacityFlicker = (1 - (parmsVideo['flicker'] || 0)).toString();
|
||||
this.opacityFlicker = (1 - (Web.getURLParm('flicker') || parmsVideo['flicker'] || 0)).toString();
|
||||
this.fOpacityReduced = false;
|
||||
if (canvas) canvas.style.backgroundColor = this.colorScreen;
|
||||
if (container) container.style.backgroundColor = this.colorScreen;
|
||||
|
|
@ -6872,7 +6872,7 @@ class Video extends Component {
|
|||
* until we figure out a better UI. And note that we use our Web.onPageEvent() helper function to make
|
||||
* sure we don't trample any other 'onresize' handler(s) attached to the window object.
|
||||
*/
|
||||
var aspect = +(parmsVideo['aspect'] || Web.getURLParm('aspect'));
|
||||
var aspect = +(Web.getURLParm('aspect') || parmsVideo['aspect']);
|
||||
/*
|
||||
* No 'aspect' parameter yields NaN, which is falsey, and anything else must satisfy my arbitrary
|
||||
* constraints of 0.3 <= aspect <= 3.33, to prevent any useless (or worse, browser-blowing) results.
|
||||
|
|
|
|||
Loading…
Reference in a new issue