GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com β€” GitHub - ht-devx/VIDYO: πŸ› οΈ βΈ¨ plugin βΈ© replaces the browser's default controls with custom controls

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
demo
demo
 
 
.DS_Store
.DS_Store
 
 
InstrumentSans-Regular.ttf
InstrumentSans-Regular.ttf
 
 
README.md
README.md
 
 
VIDYO.css
VIDYO.css
 
 
VIDYO.js
VIDYO.js
 
 
VIDYO.min.css
VIDYO.min.css
 
 
VIDYO.min.js
VIDYO.min.js
 
 

Repository files navigation

πŸŽ¬β€‚VIDYO

Table of Contents:

  • About
  • Usage
  • Attribution
  • Troubleshooting

About:

A plugin that targets videos (of specified selectors) and replaces the browser's default controls with custom controls.

πŸ‘€β€‚Demo: ht-devx.github.io/VIDYO/demo
πŸ› οΈβ€‚Code playground: jsfiddle.net/ht_dev/vdL8061q
πŸ‘·β€‚Author: HT (@β€Šht-devx)

Preview:

image


Credits:

  • play icon by IYAHICON
  • pause icon by Chanut
  • volume icon and mute icon by Bharat Icons
  • font: Instrument Sans
Demo credits:
  • bear video
  • bear favicon by Sebastian Belalcazar
  • font: Figtree

Usage:

Paste the following after <head>:

<!--✻✻✻✻✻✻  VIDYO (video plugin) by @ht-devx  ✻✻✻✻✻✻-->
<link href="https://cdn.jsdelivr.net/gh/ht-devx/VIDYO/VIDYO.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/gh/ht-devx/VIDYO/VIDYO.min.js"></script>

Call VIDYO like so:

<script>
VIDYO({
    video: "video",
    volume: "75%"
})
</script>
Option name Type Details
video string or array Your video's selector(s).
Examples:
 ◍ "video"
 ◍ document.querySelector("video")
 ◍ ["video"]
 ◍ document.querySelectorAll("video")
 ◍ [".video-with-class", document.querySelectorAll(".video-with-another-class")]
volume string or number Examples (string):
 ◍ "0%" (silent)
 ◍ "50%"
 ◍ "100%" (full volume)

Examples (number):
 ◍ 0 (silent)
 ◍ 0.5 (half volume)
 ◍ 1 (full volume)

In terms of styling, feel free to edit or override VIDYO's CSS variables.
An exhaustive list of all CSS variables:

:root, :host {
	--VIDYO-buttons-color:#fff;
	--VIDYO-buttons-size:2rem;
	--VIDYO-buttons-shadow-strength:10%;
	--VIDYO-hover-speed:0.25s;
	
	--VIDYO-slider-area-height:40px;
	--VIDYO-slider-area-background:#000;
	--VIDYO-slider-area-transparency:75%;
	--VIDYO-slider-area-blur:0px;
	--VIDYO-slider-area-side-padding:12px;
	
	--VIDYO-slider-bar-width:69%;
	--VIDYO-slider-bar-height:5px;
	--VIDYO-slider-bar-color:#232323;
	--VIDYO-slider-bar-roundness:5px;
	--VIDYO-slider-bar-fill-color:#eee;
	--VIDYO-slider-gaps:15px;
	
	--VIDYO-knob-width:12px;
	--VIDYO-knob-height:12px;
	--VIDYO-knob-color:#fafafa;
	--VIDYO-knob-roundness:100%;
	
	--VIDYO-tiny-buttons-size:0.8rem;
	--VIDYO-tiny-buttons-color:#efefef;
	
	--VIDYO-time-color:#efefef;
	--VIDYO-time-font-family:"Instrument Sans";
	--VIDYO-time-font-size:0.8rem;
	
	--VIDYO-volume-slider-bar-width:5px;
	--VIDYO-volume-slider-bar-height:80px; /* % not allowed */
	--VIDYO-volume-slider-bar-color:#232323;
	--VIDYO-volume-slider-bar-roundness:5px;
	--VIDYO-volume-slider-bar-fill-color:#8e8e8e;
	--VIDYO-volume-slider-touch-padding:15px;
	--VIDYO-volume-slider-fade-speed:0.3s;
	--VIDYO-volume-slider-padding:12px;
	--VIDYO-volume-knob-width:12px;
	--VIDYO-volume-knob-height:12px;
	--VIDYO-volume-knob-roundness:100%;
	--VIDYO-volume-knob-color:#efefef;
}

Attribution:

Please do not remove the credits, and link back to this repository page!


Troubleshooting:

If you encounter any issues or have any questions, please contact me through either:

  • πŸ’Œβ€‡[email protected]
  • πŸ’»β€‡discord.gg/RcMKnwz

About

πŸ› οΈβ€‚βΈ¨ plugin βΈ© β€Šreplaces the browser's default controls with custom controls

ht-devx.github.io/VIDYO/demo

Topics

html5-videojavascriptvideovideo-player

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 β€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Γ—600. No cookies required.