File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ import { Video } from '@nativescript/canvas-media';
9
9
//
10
10
export function handleVideo ( canvas ) {
11
11
const gl = canvas . getContext ( 'webgl2' ) as WebGLRenderingContext ;
12
- android . util . Log . d ( 'com.test' , `${ gl . getSupportedExtensions ( ) } ` ) ;
13
-
14
-
15
12
// If we don't have a GL context, give up now
16
13
17
14
if ( ! gl ) {
@@ -84,7 +81,7 @@ export function handleVideo(canvas) {
84
81
85
82
const texture = initTexture ( gl ) ;
86
83
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
88
85
const video = setupVideo ( '~/assets/file-assets/webgl/Firefox.mp4' ) ;
89
86
90
87
var then = 0 ;
@@ -138,7 +135,6 @@ function setupVideo(url) {
138
135
true
139
136
) ;
140
137
141
-
142
138
video . src = url ;
143
139
video . play ( ) ;
144
140
@@ -148,7 +144,6 @@ function setupVideo(url) {
148
144
}
149
145
}
150
146
151
-
152
147
// setTimeout(()=>{
153
148
// video.pause();
154
149
// setTimeout(()=>{
You can’t perform that action at this time.
0 commit comments