Share My Creation [B4X] Another alternative video player

This is another alternative player, which is based on WebView and the VideoJS Framework.

Ref.
Types of mimes or formats allowed:
opus: 'video/ogg',
ogv: 'video/ogg',
mp4: 'video/mp4',
mov: 'video/mp4',
m4v: 'video/mp4',
mkv: 'video/x-matroska',
m4a: 'audio/mp4',
mp3: 'audio/mpeg',
aac: 'audio/aac',
caf: 'audio/x-caf',
flac: 'audio/flac',
oga: 'audio/ogg',
wav: 'audio/wav',
m3u8: 'application/x-mpegURL',
mpd: 'application/dash+xml',
jpg: 'image/jpeg',
jpeg: 'image/jpeg',
gif: 'image/gif',
png: 'image/png',
svg: 'image/svg+xml',
webp: 'image/webp'
Use: example
B4X:
    Dim VideoURL As String = $"https://docs.evostream.com/sample_content/assets/bunny.mp4"$
'    Dim VideoURL As String = $"https://player.vimeo.com/external/354886143.hd.mp4?s=2e182d1b22282a63a9533ffda5bb0b2295cdb8e6&profile_id=175"$
    WebView1.LoadHtml(VideoHtml(VideoURL, True))

1712516736638.png
1712517062021.png


Your comments will be welcome.

Regards.
 
Last edited:
Top