w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
941 stars 132 forks source link

Define videoSource before videoSelect.onchange to avoid ReferenceError. #679

Closed HuaChunbo closed 1 year ago

HuaChunbo commented 1 year ago

This fixes the error popup when doing video source switch.

chrisn commented 1 year ago

Thank you!