Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nexoscreator/html5-custom-video-player
This repository contains a custom video player designed to be integrated into web applications. The player is built with HTML, CSS, and JavaScript, offering a responsive and user-friendly experience.
https://github.com/nexoscreator/html5-custom-video-player
custom-video-player html5 js video-player
Last synced: 5 days ago
JSON representation
This repository contains a custom video player designed to be integrated into web applications. The player is built with HTML, CSS, and JavaScript, offering a responsive and user-friendly experience.
- Host: GitHub
- URL: https://github.com/nexoscreator/html5-custom-video-player
- Owner: nexoscreator
- License: mit
- Created: 2024-08-05T07:56:28.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T10:49:46.000Z (6 months ago)
- Last Synced: 2025-02-05T00:29:04.272Z (6 days ago)
- Topics: custom-video-player, html5, js, video-player
- Language: JavaScript
- Homepage: https://nexoscreator.github.io/html5-custom-video-player/
- Size: 4.64 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![GitHub Pages](https://img.shields.io/github/deployments/nexoscreator/html5-custom-video-player/github-pages.svg?style=flat-square&color=cyan)
![GitHub Release](https://img.shields.io/github/v/release/nexoscreator/html5-custom-video-player.svg?style=flat-square&color=cyan)
![GitHub License](https://img.shields.io/github/license/nexoscreator/html5-custom-video-player.svg?style=flat-square&color=cyan)
![GitHub code size](https://img.shields.io/github/languages/code-size/nexoscreator/html5-custom-video-player.svg?style=flat-square&color=cyan)---
# Custom HTML5 Video Player
![image](.github/preview.png)
This project features a custom video player built using plain JavaScript. It includes various functionalities such as play/pause control, volume adjustment, playback speed settings, fullscreen toggle, and more.
---
### Features
- Responsive design for various screen sizes.
- Support for various video formats.
- Touch and click navigation support.
- Keyboard Shortcut Key Support
- Customizable player controls.
- Play/Pause Control, Volume Control, Playback Controls, Fullscreen Mode, Playback Speed Adjustment, Video Navigation, Mini Player and Theater Mode, Loading Indicator.---
## Keyboard Shortcuts
This custom video player supports the following keyboard shortcuts to enhance your video playback experience:
| **Shortcut Key** | **Action** | **Description** |
|------------------|--------------------------|--------------------------------------------------|
| `f` | Toggle Fullscreen | Enter or exit fullscreen mode. |
| `→` (Right Arrow) | Forward | Skip the video forward. |
| `←` (Left Arrow) | Backward | Rewind the video. |
| `t` | Toggle Theater Mode | Switch between normal and theater modes. |
| `i` | Toggle Mini Player | Activate or deactivate mini player view. |
| `m` | Toggle Mute/Unmute | Mute or unmute the video. |
| `+` | Increase Playback Speed | Increase the playback speed. |
| `-` | Decrease Playback Speed | Decrease the playback speed. |### Links
[![Web Demo](https://img.shields.io/badge/Web-Demo-blue?style=for-the-badge&logo=google-chrome)](https://nexoscreator.github.io/html5-custom-video-player)
[![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-green?style=for-the-badge&logo=github)](https://github.com/nexoscreator/html5-custom-video-player)
[![YouTube Video](https://img.shields.io/badge/YouTube-Video-red?style=for-the-badge&logo=youtube)](https://youtu.be/rMnDe0iEGRs?si=B2viVesOhHYusbBG)---
### Installation
Provide step-by-step instructions on how to install and set up your project.
1. **Include the Video Player in HTML**
Use the following HTML to include the video player in your page:
```html
```2. **Link CSS Styles**
Include the necessary CSS to style the video player and controls.
```html
```3. **Link the JavaScript**
Add the JavaScript code cdn link provided below to the functionality of the video player.
```html
```---
### Customization
Customize the player by modifying the CSS styles in styles.css and the JavaScript in player.js.
1. **Clone the Repository:**
```bash
git clone https://github.com/nexoscreator/html5-custom-video-player.git
cd html5-custom-video-player
```2. **Customize CSS:**
Customize the player styles by modifying the `video-player.css` file.3. **Customize JavaScript:**
Adjust player functionality by editing the `video-player.js` file. You can update controls, navigation, or error handling as needed.---
### Contributing
Contributions are welcome! If you have any suggestions, bug fixes, or improvements, feel free to open an issue or submit a pull request.
If you'd like to contribute to this project, please follow these ste1. Fork the repository.
2. Create a new branch (`git checkout -b feature/improvement`).
3. Make your changes and commit them (`git commit -m 'Add feature/improvement'`).
4. Push to the branch (`git push origin feature/improvement`).
5. Open a Pull Request.Please check the [CONTRIBUTING.md](CONTRIBUTING.md) file for more details.
---
### License
This project is licensed under the [MIT License](LICENSE).