Skip to content

Commit 612aed5

Browse files
save file
1 parent 0b668e9 commit 612aed5

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

utils/webrtc/webrtc-file-transfer-http/webrtc-file-transfer-http.html

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555

5656
var menu;
5757

58+
var hdr;
5859
var filemod;
5960
var log;
6061

@@ -65,20 +66,18 @@
6566
async function init(){
6667
debug('init');
6768

68-
//keydown = keydown();
69-
console.log(keydown);
70-
7169
menu = menumod();
7270

71+
hdr = mod['video-hdr'];
7372
filemod = mod['file-mod'];
7473
log = mod['log-mod'];
7574

76-
75+
hdr.initmod({ext,$,menu});
7776
filemod.initmod({ext,$,menu,menumod,complete});
7877
log.initmod({ext,$});
79-
8078

8179
await Promise.all([
80+
hdr.init(),
8281
filemod.init(),
8382
log.init(),
8483
]);
@@ -209,21 +208,13 @@
209208

210209
<body>
211210

212-
213-
<!--
214-
<hdr-grp-api>
215-
<script src='https://html-loader-1024713184986.us-central1.run.app/'></script>
216-
<img class=title src='images/html-editor.png' style='top:-5px;height:55px'>
217-
<span slot=date>11 Jun 2025</span>
218-
</hdr-grp-api>
219-
-->
220-
211+
<webrtc-hdr component=grp>
212+
<h1 slot=seo-hdr class=visually-hidden>webrtc file transfer http</h1>
213+
<img class=title src='images/webrtc-file-transfer-http.png' style='top:-5px;height:55px' alt='webrtc file transfer http'>
214+
<time slot=date datetime=2025-12-02>02 Dec 2025</time>
215+
</webrtc-hdr>
221216

222-
<h3>
223-
file transfer http
224-
</h3>
225217

226-
227218
<div id=server-root>
228219

229220

@@ -384,9 +375,10 @@ <h3>
384375
async function initdom(rootnode){ //c
385376
debug('initdom');
386377

387-
388378
root = rootnode;
379+
389380

381+
hdr.initdom();
390382
keydown.initdom();
391383

392384

0 commit comments

Comments
 (0)