Zod- / jsVideoUrlParser

A javascript parser to extract informations like provider, channel, id, start time from YouTube, Vimeo, Dailymotion, Twitch,... urls
MIT License
234 stars 73 forks source link

Get more audio and video extension #106

Open onigetoc opened 1 year ago

onigetoc commented 1 year ago

It will be interesting to get more extension. Like audios and videos extensions. .mp4, .mp3, .ogg, .m3u8, .m4a, .mpd ect...

It would be great to add these.

I did 3 examples to make it work on my webapp with some others plugins like videojs or others videos plugins.

Its working 100% of the time.

With some JavaScript plugin like HLS or dash player, sometime you have to find the right extension to get the right video type. for example, if it's a m3u8 plugin my result will be hls or for the type is application/x-mpegurl or for dash it will be application/dash+xml

For example, i did a video player based on some podcast or video podcast or other source like IPTV act. I do not always know the audio and video type.