It looks like it’s a codec problem with Chromium: [Question] Video not being loaded, therefore it can't be played · Issue #4585 · microsoft/playwright · GitHub
Try using Chrome or Edge as a browser.
You can also launch your Chrome browser by replacing msedge to chrome
3 Likes