P5 and DOM file types

I’m trying to create a video player using DOM and video files to createVideo() in p5. When I’m setting my program to support multiple file types, I have to include each format of the file in the repository or file directory as well, right?

Additionally, what file types should I include to ensure my player works on Chrome, Firefox, Safari, Internet Explorer, etc.? What formats besides mp4 should I use?

same as the other topic I changed the topic category.

you can find info on MDN - in their example they use webm and mp4. but note that webm has different standards (vp8/vp9) and vp9 may not be supported by all the browsers.