Home > database >  Is possible to watch .mkv videos on HTML5 in 2022?
Is possible to watch .mkv videos on HTML5 in 2022?

Time:01-30

I always tried to stream/watch .mkv videos directly in the browser and sadly I never could. But in the last time I found different apps that achieve that, here is an example: https://webtor.io/#/show?file=Mr.Robot.S01E01.BDRip.x264-DEMAND.mkv&pwd=/Mr.Robot.S01.BDRip.x264-DEMAND[rartv]&magnet=magnet:?xt=urn:btih:4d4ebdb4f0749fac2cdcb27333497b57623cb2bd&dn=Mr.Robot.S01.BDRip.x264-DEMAND%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2910%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2980%2Fannounce

Anyone knows how to do it? Is it possible without any Chrome/browser extension? Thanks!

CodePudding user response:

well... the app you mentioned above is a torrent based there are lot of 'web-torrents' plugins and standalone apps that can play nearly any file in it's torrent.

CodePudding user response:

fluidPlayer(
    'my-video',
    {
        layoutControls: {
            primaryColor: "#28B8ED"
        },
        layoutControls: {
            allowDownload: true // Default false
        },      
    }
);
<html>
    <head>
        <title>Fluid Player</title>
        <link rel="stylesheet" href="http://cdn.fluidplayer.com/v2/current/fluidplayer.min.css" type="text/css"/>
        <script src="http://cdn.fluidplayer.com/v2/current/fluidplayer.min.js"></script>
    </head>
    <body>

        <video id='my-video' controls style="width: 640px; height: 360px;">
            <source data-fluid-hd src='https://cdn.fluidplayer.com/videos/valerian-1080p.mkv' title='1080p' type='video/mp4' />
            <source data-fluid-hd src='https://cdn.fluidplayer.com/videos/valerian-720p.mkv' title='720p' type='video/mp4' />
            <source src='https://cdn.fluidplayer.com/videos/valerian-480p.mkv' title='480p' type='video/mp4' />         
        </video>

    </body>
</html>

  •  Tags:  
  • Related