Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

105
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!