|
1 | 1 |
|
2 | | -<html> |
| 2 | + |
| 3 | +<!DOCTYPE html> |
| 4 | + |
| 5 | + |
| 6 | +<html lang=en> |
3 | 7 |
|
4 | 8 | <head> |
5 | 9 |
|
6 | 10 |
|
7 | 11 | <title>scan video file for objects / people</title> |
8 | 12 | <meta name=description content='scan video file for objects / people'> |
9 | 13 |
|
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'> |
13 | 16 | <link rel=canonical href='https://ext-code.com/utils/video/scan-video-file-for-objects/scan-video-file-for-objects.html'> |
14 | 17 |
|
15 | 18 | <meta name=viewport content='width=device-width, initial-scale=1'> |
|
37 | 40 |
|
38 | 41 | <script init> |
39 | 42 | console.clear(); |
40 | | - console.log('scan-video-file-for-objects.html'); |
41 | | - console.log(); |
| 43 | + console.log('scan video'); |
42 | 44 | console.json=v=>console.log(JSON.stringify(v,null,4)); |
| 45 | + |
43 | 46 | var ext,$,datatype,menumod,keydown,hs |
44 | 47 | ; |
45 | 48 |
|
46 | | - var menu; |
47 | | - |
48 | 49 | var hdr; |
| 50 | + var menu; |
49 | 51 | var filemod; |
50 | 52 | var log; |
51 | 53 |
|
52 | | - |
53 | | - //: |
54 | | - |
55 | | - |
56 | | - mod.stack.add = init; |
57 | 54 |
|
| 55 | + |
58 | 56 | async function init(){ |
59 | 57 | console.log('init'); |
60 | 58 |
|
61 | 59 | menu = menumod(); |
62 | 60 |
|
63 | 61 | hdr = mod['video-hdr']; |
64 | | - filemod = mod.filemod; |
65 | | - log = mod.log; |
| 62 | + filemod = mod['file-mod']; |
| 63 | + log = mod['log-mod']; |
66 | 64 |
|
67 | 65 | hdr.initmod({ext,$,menu}); |
68 | 66 | filemod.initmod({ext,$,menumod,menu,complete,source,log}); |
69 | 67 | log.initmod({ext,$}); |
70 | 68 |
|
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 | + ]); |
75 | 74 |
|
76 | 75 |
|
77 | 76 | initdom(document.body); |
|
80 | 79 | }//init |
81 | 80 |
|
82 | 81 |
|
| 82 | + //: |
| 83 | + |
| 84 | + |
| 85 | + |
83 | 86 | (async()=>{ |
84 | 87 |
|
85 | 88 | mod.stack.add; |
|
201 | 204 | <div id=center> |
202 | 205 |
|
203 | 206 | <video-hdr component=grp> |
| 207 | + <!-- |
| 208 | + <script src='https://html-loader-1024713184986.us-central1.run.app/'></script> |
| 209 | + --> |
204 | 210 | <img class=title src='images/scan-video-file-for-objects.png' style='top:10px;height:55px'> |
205 | 211 | <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1> |
206 | 212 | <span slot=date>03 Oct 2025</span> |
207 | 213 | </video-hdr> |
208 | | - |
| 214 | + |
209 | 215 | <div id=settings> |
210 | 216 |
|
211 | 217 | <div id=audio> |
@@ -250,7 +256,7 @@ <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1> |
250 | 256 | </div> |
251 | 257 |
|
252 | 258 |
|
253 | | - <filemod component v2.0></filemod> |
| 259 | + <file-mod component></file-mod> |
254 | 260 |
|
255 | 261 |
|
256 | 262 | <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> |
348 | 354 |
|
349 | 355 | </div center> |
350 | 356 |
|
351 | | - <log component v2.0></log> |
| 357 | + <log-mod component></log-mod> |
352 | 358 |
|
353 | 359 | </body> |
354 | 360 |
|
@@ -439,6 +445,8 @@ <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1> |
439 | 445 |
|
440 | 446 | var root = rootnode; |
441 | 447 |
|
| 448 | + menu.add.style(); |
| 449 | + |
442 | 450 |
|
443 | 451 | hdr.initdom(root); |
444 | 452 |
|
@@ -1099,7 +1107,7 @@ <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1> |
1099 | 1107 | var src = video.src; |
1100 | 1108 | var i = src.indexOf('-'); |
1101 | 1109 | var file = src.slice(i+1); |
1102 | | - window.open('video-player.html?'+file+'='+time); |
| 1110 | + window.open('../video-player/video-player.html?'+file+'='+time); |
1103 | 1111 |
|
1104 | 1112 | }//open |
1105 | 1113 |
|
@@ -1252,7 +1260,9 @@ <h1 slot=seo-hdr class=visually-hidden>scan video file for objects / people</h1> |
1252 | 1260 | }//strtomilli |
1253 | 1261 |
|
1254 | 1262 |
|
1255 | | - |
| 1263 | + //: |
| 1264 | + |
| 1265 | + |
1256 | 1266 | </script> |
1257 | 1267 |
|
1258 | 1268 | </html> |
|
0 commit comments