jQuery Component for a Volume Slider For Media Player | oyoslider

oyoslider is a lightweight jQuery plugin directed at developers for creating custom slider controls such as search bars and volume sliders for media players such as audio and video players.


  • Browser-independent scroll bar.
  • The slider can be enabled/disabled.
  • Automatic value change can also be set.
  • The minimum value, the maximum value, and the step can be specified.
  • Cursor key control can be assigned to another item.
  • Colors can be changed.
  • All parts can be resized.

How to make use of it:

1. Load the oyoslider plugin after jQuery.

<link rel="stylesheet" href="oyoslider.css" />
<script src="/path/to/cdn/jquery.slim.min.js"></script>
<script src="/path/to/oyoslider.js"></script>

2. Create a new instance of oyoslider.

// oyo<a href=" ">Slider</a>(sliderWidth, sliderHeight, sliderBorderRadius, trackWidth, trackHeight, trackBorderRadius, thumbWidth, thumbHeight, thumbBorderRadius);
mySlider = new oyoSlider();

3. These API methods give you complete control over the slider.

// change the appearance of the slider
mySlider.change(width, height, borderRadius, color);

// change the appearance of the track
mySlider.changeTrack(width, height, borderRadius, beforeColor, afterColor);

// change the appearance of the thumb
mySlider.changeThumb(width, height, borderRadius, color);

// change the color of the slider

// change the color of the track
mySlider.changeTrackColors(beforeColor, afterColor);

// change the color of the thumb

// reset all colors

// enable the slider

// disable the slider

// set/get the min value
mySlider.min = 0;

// set/get the max value
mySlider.max = 25;

// set/get the step size
mySlider.step = 1;

// set/get the current value
mySlider.vaue = 10;

See Demo And Download

Official Website(oyosoftware): Click Here

This superior jQuery/javascript plugin is developed by oyosoftware. For extra Advanced usage, please go to the official website.

Related Posts


CSS Layout Components Horizontal/Vertical Stack | HStack and VStack

HStack and VStack in CSS – CSS layout components that (basically) stack anything horizontally and vertically. A pure CSS library that makes it easy to stack elements…


How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…


Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…


Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…


Bootstrap 4 Sidebar Menu Responsive Template | MDB

Bootstrap Side Navbar – Responsive sidebar template based on the Bootstrap 4 framework. An easy-to-use, totally responsive, Google Material Design impressed aspect navigation for modern web app…


Lightweight Bootstrap 4 Toast Notification Plugin | BS4 Advanced Toast

A lightweight Bootstrap 4 Toast Notification plugin integrated with JS/jQuery. bs4-toast.js is a JavaScript library that enhances the native Bootstrap toast component with icons, buttons, callbacks, and…

Leave a Reply

Your email address will not be published. Required fields are marked *