-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
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.
- General and with Videojs player plugin with switch: https://gist.github.com/onigetoc/b8ff248b19ef9de6e77acc1ee0403663
- General and with Videojs plugin with if : https://gist.github.com/onigetoc/461614e97a76e84606d7cc3675b65428
- General and with Vime js video player plugin with switch: https://gist.github.com/onigetoc/2fdde71126aa88bf210b9f8fd9deca2a
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels