Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

111
Visualizações
VideoJS - Remove Player and keep only video tag

I just started using videojs because it is the only way I can play .M3U8 files inside a browser but it comes it with its own player so I can't put my own buttons to it. I just want to keep the video tag and remove the rest of the player. I am not able to find anything on google about this

The code:

<!DOCTYPE html>
<html>

<head>
    <meta charset=utf-8 />
    <link href="https://vjs.zencdn.net/7.2.3/video-js.css" rel="stylesheet">
    <script src="https://unpkg.com/video.js/dist/video.js"></script>
    <script src="https://unpkg.com/videojs-contrib-hls/dist/videojs-contrib-hls.js"></script>

</head>

<body>
    <video id="my_video_1">
        <source src="https://mplayer.sbs/caching/OTA3OTk=.m3u8"
            type="application/x-mpegURL">
    </video>

    <script>
        var player = videojs('my_video_1');
        player.play();
    </script>

</body>

</html>
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You can remove components including controls from the player by specifying the player's child components:

var player = videojs('my_video_1', {children: ['MediaLoader']})
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda