@@ -401,10 +401,6 @@ export class VideoPlayerDemo {
...
@@ -401,10 +401,6 @@ export class VideoPlayerDemo {
}
}
}
}
sleep(time){
for(lett=Date.now();Date.now()-t<=time;);
}
asyncvideoPlayerDemo(){
asyncvideoPlayerDemo(){
letvideoPlayer=undefined;
letvideoPlayer=undefined;
letsurfaceID='test'// The surfaceID parameter is used for screen display. Its value is obtained through the XComponent API. For details about the document link, see the method of creating the XComponent.
letsurfaceID='test'// The surfaceID parameter is used for screen display. Its value is obtained through the XComponent API. For details about the document link, see the method of creating the XComponent.
...
@@ -442,27 +438,15 @@ export class VideoPlayerDemo {
...
@@ -442,27 +438,15 @@ export class VideoPlayerDemo {