Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7978317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:27:42+00:00 2026-06-04T09:27:42+00:00

My question is how to add new components(control buttons) on video.js player. For example,

  • 0

My question is how to add new components(control buttons) on video.js player.

For example, adding a button to allow to change the video playback rate.

Giving a simple example would be much helpful. Thank you very much.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:27:43+00:00Added an answer on June 4, 2026 at 9:27 am

    It doesn’t appear VideoJS Supports playback-rate directly, but from my understanding it’s just a fancy wrapper for an HTML5 Video Element.

    According to this stack overflow question/answer you can change the playback rate of HTML5 video directly on the DOM Element as referenced by the W3C HTML5 Video Wiki Entry.

    You probably will have to side-step VideoJS to do this as the support doesn’t look baked in. Also, there may be issues between browsers over support of this attribute.

    As for simply adding controls, VideoJS implements a Javascript API you can use to control the element but it seems pretty limited to the most basic of controls (play/pause/goto/fullscreen/etc…)

    The default controls the player has don’t seem to be greatly customizable so if you wish to provide a clearer experience, you can probably disable the in-video controls and re-implement your own in html/dom/js underneath the video element.

    Example:

    With some really simple html & Javascript, you can wire up some simple controls.

    HTML:

    <video id="Vid" ...>
    </video>
    <div id="Controls">
     <a id="Play" href="#Play">Play</a> - <a id="Pause" href="#Pause">Pause</a>
    </div>
    

    JS:

    _V_("Vid").ready(function() {
      var player = this;
    
      var playbutton = document.getElementById("Play");
      var pausebutton = document.getElementById("Pause");
    
      playbutton.onclick = function(event) {
        player.play();
      };
    
      pausebutton.onclick = function(event) {
        player.pause();
      };
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Question 1) I have a control to which I add an attribute from the
When answering another question I started to wonder how I could Add new properties
I'm very new to Joomla. I have a question about components/modules. I'm doing the
This question Add a version number to the title of a LaTeX document spurred
this is a different question concerning: add a connection to database not working, asp.net
I'm using the method described by Josh in this question to add a toolbar
Question: Using Ruby it is simple to add custom methods to existing classes, but
Long question Is it possible to add a DOM element only if it does
This question is similar to this one How do I add options to a
REVISED QUESTION : We have tracked this down to a custom add to cart

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.