vscode-markdown
vscode-markdown copied to clipboard
Markdown preview fails when page include a video
Type: Bug
I generated a markdown document including an mp4 video. Trying to open the preview page the following error is displaied in the pop-up window:
Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
If I remove the statement for video including: ![type:video](./lib/myvideo.mp4)
the plugin works finely.
Extension version: 3.5.1 VS Code version: Code 1.84.1 (2b35e1e6d88f1ce073683991d1eff5284a32690f, 2023-11-06T12:35:31.181Z) OS version: Linux x64 6.5.6-76060506-generic Modes:
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 7 PRO 6850U with Radeon Graphics (16 x 4534) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok video_decode: enabled video_encode: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | 3, 2, 2 |
Memory (System) | 27.16GB (10.88GB free) |
Process Argv | --extensions-dir=/home/javaknight/.var/app/com.visualstudio.code/data/vscode/extensions --reuse-window --crash-reporter-id ba1f0d13-6165-4bdd-a0ff-041b29c99ce3 |
Screen Reader | no |
VM | 0% |
DESKTOP_SESSION | pop |
XDG_CURRENT_DESKTOP | Unity |
XDG_SESSION_DESKTOP | pop |
XDG_SESSION_TYPE | x11 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30880072
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
89544117:30613380
a9j8j154:30646983
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
synctok:30869157
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30871694
pythonregdiag2:30871582
pyreplss1:30886140
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30885898
pythontbext0:30879054
dsvsc016:30886110
dsvsc017cf:30886113
dsvsc018:30886114
aa_t_chat:30882232