Skip to content

Commit eb53e6d

Browse files
save file
1 parent 3137baa commit eb53e6d

File tree

1 file changed

+34
-24
lines changed

1 file changed

+34
-24
lines changed

utils/video/scan-video-file-for-objects/scan-video-file-for-objects.html

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11

2-
<html>
2+
3+
<!DOCTYPE html>
4+
5+
6+
<html lang=en>
37

48
<head>
59

610

711
<title>scan video file for objects / people</title>
812
<meta name=description content='scan video file for objects / people'>
913

10-
<base href='https://ext-code.com/utils/video/scan-video-file-for-objects/'>
11-
<base href='https://javascript-2020.github.io/utils/video/scan-video-file-for-objects/'>
12-
14+
<base href='https://ext-code.com/utils/video/scan-video-file-for-objects/scan-video-file-for-objects.html'>
15+
<base href='https://javascript-2020.github.io/utils/video/scan-video-file-for-objects/scan-video-file-for-objects.html'>
1316
<link rel=canonical href='https://ext-code.com/utils/video/scan-video-file-for-objects/scan-video-file-for-objects.html'>
1417

1518
<meta name=viewport content='width=device-width, initial-scale=1'>
@@ -37,41 +40,37 @@
3740

3841
<script init>
3942
console.clear();
40-
console.log('scan-video-file-for-objects.html');
41-
console.log();
43+
console.log('scan video');
4244
console.json=v=>console.log(JSON.stringify(v,null,4));
45+
4346
var ext,$,datatype,menumod,keydown,hs
4447
;
4548

46-
var menu;
47-
4849
var hdr;
50+
var menu;
4951
var filemod;
5052
var log;
5153

52-
53-
//:
54-
55-
56-
mod.stack.add = init;
5754

55+
5856
async function init(){
5957
console.log('init');
6058

6159
menu = menumod();
6260

6361
hdr = mod['video-hdr'];
64-
filemod = mod.filemod;
65-
log = mod.log;
62+
filemod = mod['file-mod'];
63+
log = mod['log-mod'];
6664

6765
hdr.initmod({ext,$,menu});
6866
filemod.initmod({ext,$,menumod,menu,complete,source,log});
6967
log.initmod({ext,$});
7068

71-
await hdr.init();
72-
await filemod.init();
73-
await log.init();
74-
69+
await Promise.all([
70+
hdr.init(),
71+
filemod.init(),
72+
log.init(),
73+
]);
7574

7675

7776
initdom(document.body);
@@ -80,6 +79,10 @@
8079
}//init
8180

8281

82+
//:
83+
84+
85+
8386
(async()=>{
8487

8588
mod.stack.add;
@@ -201,11 +204,14 @@
201204
<div id=center>
202205

203206
<video-hdr component=grp>
207+
<!--
208+
<script src='https://html-loader-1024713184986.us-central1.run.app/'></script>
209+
-->
204210
<img class=title src='images/scan-video-file-for-objects.png' style='top:10px;height:55px'>
205211
<h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1>
206212
<span slot=date>03 Oct 2025</span>
207213
</video-hdr>
208-
214+
209215
<div id=settings>
210216

211217
<div id=audio>
@@ -250,7 +256,7 @@ <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1>
250256
</div>
251257

252258

253-
<filemod component v2.0></filemod>
259+
<file-mod component></file-mod>
254260

255261

256262
<div style="display: flex; align-items: center; margin-top: 10px; justify-content: center; gap: 30px;">
@@ -348,7 +354,7 @@ <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1>
348354

349355
</div center>
350356

351-
<log component v2.0></log>
357+
<log-mod component></log-mod>
352358

353359
</body>
354360

@@ -439,6 +445,8 @@ <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1>
439445

440446
var root = rootnode;
441447

448+
menu.add.style();
449+
442450

443451
hdr.initdom(root);
444452

@@ -1099,7 +1107,7 @@ <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1>
10991107
var src = video.src;
11001108
var i = src.indexOf('-');
11011109
var file = src.slice(i+1);
1102-
window.open('video-player.html?'+file+'='+time);
1110+
window.open('../video-player/video-player.html?'+file+'='+time);
11031111

11041112
}//open
11051113

@@ -1252,7 +1260,9 @@ <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1>
12521260
}//strtomilli
12531261

12541262

1255-
1263+
//:
1264+
1265+
12561266
</script>
12571267

12581268
</html>

0 commit comments

Comments
 (0)