Skip to content

Commit 1e9c67f

Browse files
committed
chore: clean up
1 parent 94ed193 commit 1e9c67f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tools/demo/canvas/webgl/video.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ import { Video } from '@nativescript/canvas-media';
99
//
1010
export function handleVideo(canvas) {
1111
const gl = canvas.getContext('webgl2') as WebGLRenderingContext;
12-
android.util.Log.d('com.test',`${gl.getSupportedExtensions()}`);
13-
14-
1512
// If we don't have a GL context, give up now
1613

1714
if (!gl) {
@@ -84,7 +81,7 @@ export function handleVideo(canvas) {
8481

8582
const texture = initTexture(gl);
8683

87-
//https://github.com/mdn/webgl-examples/raw/gh-pages/tutorial/sample8/Firefox.mp4
84+
//https://github.com/mdn/webgl-examples/raw/gh-pages/tutorial/sample8/Firefox.mp4
8885
const video = setupVideo('~/assets/file-assets/webgl/Firefox.mp4');
8986

9087
var then = 0;
@@ -138,7 +135,6 @@ function setupVideo(url) {
138135
true
139136
);
140137

141-
142138
video.src = url;
143139
video.play();
144140

@@ -148,7 +144,6 @@ function setupVideo(url) {
148144
}
149145
}
150146

151-
152147
// setTimeout(()=>{
153148
// video.pause();
154149
// setTimeout(()=>{

0 commit comments

Comments
 (0)