csPlayer – Customizable YouTube Video Player (HTML + JS)
csPlayer – Customizable YouTube Video Player (HTML + JS)
Por Isaías Nelson Alberto — Fundador da Templateina
Product Overview
LATEST VERSION 1.0.0What's New in v1.0.0
- Customizable YouTube player UI for modern websites
- JavaScript-based playback controls (play/pause)
- Change video dynamically without page reload
- Theme support (custom look & feel)
- Optional thumbnail mode
- Lightweight integration using YouTube Iframe API
- Responsive behavior for desktop and mobile
- Developer-friendly methods for full control
csPlayer is a lightweight JavaScript library that lets you embed and control YouTube videos with a fully customizable player UI. It provides flexible configuration for appearance and behavior, and exposes a clean API to control playback, read duration/time, get the video title, track player state, switch videos on the fly, and destroy the instance when needed. Built for fast loading, modern layouts, and easy drop-in usage on any HTML project.
Core API Methods
- init() — Initialize the player with configuration
- changeVideo() — Switch to another YouTube video dynamically
- play() — Start playback
- pause() — Pause playback
- getDuration() — Get total video duration
- getCurrentTime() — Get current playback time
- getVideoTitle() — Read the current video title
- getPlayerState() — Get the player state (playing/paused/buffering/ended)
- destroy() — Remove player instance from the page
Por Isaías Nelson Alberto — Fundador da Templateina
Need Technical Assistance?
Our expert engineers are ready to help you. We typically respond within 15-30 minutes for Pro users.
Technical Specifications
Version
---
Framework
---
Last Update
---
Support
---
Instant Delivery
In Stock: units Selling fast!
Get Update Alerts
Be the first to know when we release v4.0.