@@ -36,7 +36,7 @@ export class VideoClip extends VisualMixin(MediaClip<VideoClipProps>) {
3636 /**
3737 * Html5 and canvas video textures
3838 */
39- public readonly textrues = {
39+ public readonly textures = {
4040 html5 : Texture . from ( this . element ) ,
4141 canvas : Texture . from ( this . canvas ) ,
4242 } ;
@@ -53,9 +53,9 @@ export class VideoClip extends VisualMixin(MediaClip<VideoClipProps>) {
5353 this . element . style . display = 'hidden' ;
5454 this . element . crossOrigin = 'anonymous' ;
5555
56- ( this . textrues . html5 . source as any ) . autoPlay = false ;
57- ( this . textrues . html5 . source as any ) . loop = false ;
58- this . sprite . texture = this . textrues . html5 ;
56+ ( this . textures . html5 . source as any ) . autoPlay = false ;
57+ ( this . textures . html5 . source as any ) . loop = false ;
58+ this . sprite . texture = this . textures . html5 ;
5959 this . view . addChild ( this . sprite ) ;
6060
6161 if ( source instanceof VideoSource ) {
@@ -181,7 +181,7 @@ export class VideoClip extends VisualMixin(MediaClip<VideoClipProps>) {
181181
182182 this . context . clearRect ( 0 , 0 , this . canvas . width , this . canvas . height ) ;
183183 this . context . drawImage ( frame , 0 , 0 ) ;
184- this . textrues . canvas . source . update ( ) ;
184+ this . textures . canvas . source . update ( ) ;
185185
186186 frame . close ( ) ;
187187 }
0 commit comments