Rewind/forward of embed video in node.js

Following suggestion from: Scripts in Tiddlywiki — codes, macros, and solutions in TW, I can embed a local video into my TiddlyWiki 5.2.3 with node.js in Windows 10. However, rewind/forward is working for Firefox, but not for Chrome and Edge.

The video files are stored under files/video/.

Then I test a single file TW through export into a static file which don’t have any problem in Chrome and Edge.

How could I solve this problem in Chrome?

can you share the code you are using?

In node.js, I used codes below flower.mp4 is stored under files/video.


<div style="text-align:center;"> 
<video controls width="100%">
   <source src="./files/video/flower.mp4" type="video/mp4">
Sorry, your browser doesn't support embedded videos.
</video>
</div>
\end

I also tested single file version.

<div style="text-align:center;"> 
<video controls width="100%">
   <source src="flower.mp4" type="video/mp4">
Sorry, your browser doesn't support embedded videos.
</video>
</div>
  • It is working with rewind and forward in Chrome as I expected.

After googling, it seems it is related with ranged requests. Could we fix it? I have embedded lots of local video of meeting records. It would be very useful for me.