@xpadev-net/niconicomments 0.2.70 → 0.2.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/dist/bundle.d.ts +3114 -2976
- package/dist/bundle.js +555 -455
- package/package.json +22 -22
package/README.en.md
CHANGED
|
@@ -33,7 +33,7 @@ const res = await req.json();
|
|
|
33
33
|
const niconiComments = new NiconiComments(canvas, res);
|
|
34
34
|
//If video.ontimeupdate is used, the comments will be choppy due to the small number of calls.
|
|
35
35
|
setInterval(
|
|
36
|
-
() => niconiComments.drawCanvas(
|
|
36
|
+
() => niconiComments.drawCanvas(video.currentTime * 100),
|
|
37
37
|
10
|
|
38
38
|
);
|
|
39
39
|
```
|
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ const res = await req.json();
|
|
|
35
35
|
const niconiComments = new NiconiComments(canvas, res);
|
|
36
36
|
//video.ontimeupdateを使用すると、呼び出し回数の関係でコメントカクつく
|
|
37
37
|
setInterval(
|
|
38
|
-
() => niconiComments.drawCanvas(
|
|
38
|
+
() => niconiComments.drawCanvas(video.currentTime * 100),
|
|
39
39
|
10
|
|
40
40
|
);
|
|
41
41
|
```
|