Any videos of this type play fine if I open it in Chrome. I used the same HTML as Chrome in my Electron quick-start index.html:
<video id="v" controls autoplay>
<source src="file:///D:/---/New/Replay%202018-03-27%2016-35-57.mp4" type="video/mp4">
</video>
Here are the video's stats:
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.84.100
Duration: 00:01:59.18, start: 0.000000, bitrate: 30411 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv), 1280x
720 [SAR 1:1 DAR 16:9], 30012 kb/s, 60 fps, 60 tbr, 15360 tbn (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt
p, 127 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt
p, 128 kb/s
Metadata:
handler_name : SoundHandler
Stream #0:3(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt
p, 128 kb/s
Metadata:
handler_name : SoundHandler
The video plays up until about 1min 19sec, then freezes and the timeline skips to the end. I can skip further on the timeline, but it can still have these freezing problems later.
Some version info:
Windows7 64bit Electron v1.8.4 Chromium v59.0.3071.115 Node v8.2.1 v8 v5.9.211.38
I'm also running the app through a .bat file if that's of any use:
C:\Users\---\node_modules\electron\dist\electron.exe C:\Users\---\Documents\GitHub\electron-quick-start