Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black background color is better #6

Open
VigibotDev opened this issue Mar 8, 2018 · 0 comments
Open

Black background color is better #6

VigibotDev opened this issue Mar 8, 2018 · 0 comments

Comments

@VigibotDev
Copy link

I found a problem on black scenes with Microsoft EDGE only. The black zone of picture #000000 are displayed as #0D0E1B (like there is a transparent video) here is the modification I do to solve this :

(root|/var/www/visio) git diff
diff --git a/visio/Player.js b/visio/Player.js
index ff2e649..a042f7f 100644
--- a/visio/Player.js
+++ b/visio/Player.js
@@ -257,7 +257,7 @@ p.decode(<binary>);
       obj.canvas = document.createElement('canvas');
       obj.canvas.width = width;
       obj.canvas.height = height;
-      obj.canvas.style.backgroundColor = "#0D0E1B";
+      obj.canvas.style.backgroundColor = "#000000";
 
 
       return obj;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant