Procházet zdrojové kódy

Whoops, fix last commit.

phoboslab před 9 roky
rodič
revize
672586bdbc
3 změnil soubory, kde provedl 4 přidání a 5 odebrání
  1. 3 2
      jsmpeg.min.js
  2. 1 1
      src/canvas2d.js
  3. 0 2
      src/player.js

Diff nebyl zobrazen, protože je příliš veliký
+ 3 - 2
jsmpeg.min.js


+ 1 - 1
src/canvas2d.js Zobrazit soubor

@@ -17,7 +17,7 @@ CanvasRenderer.prototype.resize = function(width, height) {
17 17
 	this.canvas.height = this.height;
18 18
 
19 19
 	this.imageData = this.context.getImageData(0, 0, this.width, this.height);
20
-	this.imageData.data.fill(255);
20
+	JSMpeg.Fill(this.imageData.data, 255);
21 21
 };
22 22
 
23 23
 CanvasRenderer.prototype.renderProgress = function(progress) {

+ 0 - 2
src/player.js Zobrazit soubor

@@ -58,8 +58,6 @@ var Player = function(url, options) {
58 58
 	if (this.autoplay) {
59 59
 		this.play();
60 60
 	}
61
-
62
-	window.player = this;
63 61
 };
64 62
 
65 63
 Player.prototype.showHide = function(ev) {