Skip to content

Commit

Permalink
Size video better for standalone Paint
Browse files Browse the repository at this point in the history
  • Loading branch information
1j01 committed Apr 8, 2018
1 parent b85d402 commit a021259
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion programs/jspaint/src/vaporwave-fun.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ var start_movie = function () {
mixBlendMode: "multiply",
pointerEvents: "none",
transition: "opacity 0.4s ease",
// TODO: size video maybe with viewport units
width: "100vw",
height: "100vh",
});
// NOTE: placeholder not a container; the YT API replaces the element passed in the DOM
// but keeps inline styles apparently, and maybe other things, I don't know; it's weird
Expand Down

0 comments on commit a021259

Please sign in to comment.