How to play video stream in VSCode?

Viewed 613

I tried to play some video stream in my VSCode extension by using flv.js and playease.js, but all failed by returning [ID:00] video/mp4; codecs="avc1.640028" not supported!.

After debugging, i found it returns false in VSCode by calling MediaSource.isTypeSupported("video/mp4; codecs=\"avc1.640028\"")

However, MediaSource.isTypeSupported("video/mp4; codecs=\"avc1.640028\"") returns true while in Chrome.

I don't know why, and how can i play video stream in VSCode?

0 Answers
Related