Add support for M3U playlist formats in MIME type validation
rlishchyshyn opened this issue ยท 0 comments
This change enhances MIME type validation by adding support for M3U playlist formats, specifically for video and HLS (HTTP Live Streaming) content. It checks for the MIME types application/vnd.apple.mpegurl
and application/x-mpegurl
, which are used for M3U playlists that are commonly associated with streaming video.
watermedia/src/main/java/org/watermedia/api/image/ImageFetch.java
Lines 77 to 82 in 5db212c
I suggest doing something like this