=== HTML5 Video Player – Embed and Play Videos in Custom Player  ===
Contributors: bplugins, shehabulislam, freemius, abuhayat, farazi1
Tags: HTML5 video player, mp4 player, plyr, video, video player
Donate link: https://www.buymeacoffee.com/abuhayat
Requires at least: 6.5
Tested up to: 7.0
Stable tag: 2.11.3
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html


HTML5 Video Player Plugin lets you embed responsive videos in WordPress. It’s easy to use, fast, and supports MP4, WebM, OGG, FLV, Youtube and Vimeo.

== Description ==

**The #1 No-Code Video Player Plugin – Trusted by 30,000+ Websites Worldwide**


[**HTML5 Video Player**](https://bplugins.com/products/html5-video-player/) | [**Documentation**](https://bplugins.com/docs/html5-video-player/) | [**Pricing**](https://bplugins.com/products/html5-video-player/pricing/) | [**Support**](https://bplugins.com/support/) | [**Demo**](https://bplugins.com/products/html5-video-player/#demos)

https://youtube.com/watch?v=rOVr8TX5C70

[**HTML5 Video Player**](https://bplugins.com/products/html5-video-player/) is a flexible and fully responsive video player plugin for WordPress. It allows you to embed MP4 and other video formats with ease. You can customize the player to match your site design and support playback across all major browsers and devices.
The plugin supports video embedding using shortcodes or Gutenberg blocks, making it easy to add video players to posts, pages, or widgets without writing any code. With built-in customization options, users can control video behavior such as autoplay, loop, mute, and more.


### Key Features – Free Version
- **Responsive HTML5 Video Player**: Seamlessly adapts to all devices and screen sizes.

- **No-Code Embedding**: Use shortcodes to quickly add videos anywhere on your site.

- **Cross-Browser Compatibility**: Works perfectly on Chrome, Firefox, Safari, and more.

- **iOS & Mobile Friendly**: Plays video files on all major devices without extra plugins.

- **Autoplay, Loop & Mute Options**: Customize how your videos behave.

- **Skins & Color Customization**: Style the player to match your brand.

- **Supports Multiple Formats**: Embed MP4, WebM, OGG, and FLV files.

- **Preview for Paid Content**: Great for selling digital video files with previews.

- **Lightweight & Compact**: Doesn’t take up unnecessary space on your page.

- **Custom CSS Support**: Fine-tune your player with custom styles.

- **SEO Optimized**: Schema markup helps search engines understand and index your videos.


### HTML5 Video Player Pro – Unlock Premium Features
The [**Pro version**](https://bplugins.com/products/html5-video-player/pricing/) adds more flexibility and advanced controls for managing video playback and customization:

**What’s New in the Pro Version?**

- **Color Picker**: Change player colors to match your site perfectly.

- **External Hosting Support**: Embed videos from Amazon S3 and other sources.

- **Multiple Subtitles Support**: Make your videos accessible and multilingual.

- **Quality Switcher**: Viewers can toggle video quality like on YouTube.

- **Page Load Optimizer**: Control preload settings for better speed.

- **Restart, Rewind, Fast Forward**: Full control playback buttons.

- **Ad-Free Experience**: No ads, just pure video.

- **Download Button Toggle**: Enable or hide video downloads.

- **Customize Every Control**: Show/hide any button or control.

- **Speed & Quality Control**: Let users adjust playback speed and resolution.

- **Advanced Shortcode Generator**: Now inside your post/page text editor.

- **Custom Download URL**: Set a specific URL users will access when downloading your video.

- **Autoplay When Visible on Screen**: Smart autoplay triggers only when the video enters the viewport.

- **Disable Pause**: Prevent viewers from pausing the video.

- **Allow Inline Playback on iOS**: Enable inline video viewing on iPhones and iPads.

- **Show Thumbnail on Pause**: Display a thumbnail image when the video is paused.

- **Sticky on Scroll**: Keep the video visible as users scroll down the page.

- **Seek Time**: Customize how far the video jumps when seeking forward/backward.

- **Start Time**: Automatically start the video at a specified time.

- **Preload Options**: Choose how much of the video is preloaded (metadata, auto, none).

- **Google VAST Tag URL**: Integrate ad tags using Google VAST for monetization.

- **Chapters**: Add chapter markers for easier navigation and user experience.

- **Overlay**: Display a custom overlay before or after playback.

- **Enable End Screen**: Show a custom end screen after the video finishes (disables repeat).

- **Password Protected**: Restrict video access to users with a valid password.

- **Accessibility Ready**: Supports captions and subtitles for a better inclusive experience.

- **Enable Popup Player**: Let users view videos in a pop-up modal for distraction-free playback.

- **Watermark Support**: Add branding or copyright with a watermark (disables autoplay).

- **Additional ID/CSS Class**: Add unique IDs or CSS classes for advanced custom styling.

[**Try the Pro Version**](https://bplugins.com/products/html5-video-player/pricing/) – Unlock all premium features today!


### How to Use HTML5 Video Player – Quick Start Guide

Getting started is easy!

https://youtube.com/watch?v=58P9jOzn7M4

#### Step-by-Step Setup

- Install and activate the plugin

- Go to the **HTML5 Video Player** menu in the WordPress dashboard

- Create a new video player and configure your settings

- Copy the shortcode displayed for your player

- Paste the shortcode into any post, page, or widget

Alternatively, use the Gutenberg block to add the player visually

**Gutenberg Block Support**

HTML5 Video Player includes full support for the block editor. Simply choose the HTML5 Video Player block from the editor, select your player, and publish your content.

That’s it – your video is live!

Whether you're embedding an MP4 player or building a video gallery, **HTML5 Video Player** is the go-to solution for a powerful, professional **video player plugin** on WordPress.

[**Live Video**](https://bplugins.com/products/html5-video-player) | [**Buy The Pro**](https://bplugins.com/products/html5-video-player/pricing/)

### Use Cases
- Embed product demo videos

- Display video tutorials and course content

- Showcase client testimonials

- Build a video portfolio

Add previews for digital video content

### Quick Player Block
***`[video_player src="video src"]`***

**More attributes can be used**


***`controls="play-large, restart, rewind, play, fast-forward, progress, current-time, mute, volume, captions, settings, pip, airplay, download, fullscreen"`***
***`autoplay="true/false"`***
***`muted="true/false"`***
***`preload="auto/metadata/none"`***
***`width="500px"`***
***`reset_on_end="true"`***


### User Feedback

❛❛**_We got multiple support from the developer. Outstanding and fabulous! 100 % satisfied and my personal recommendation for video player plugin!_**❜❜

**_-newbie2004_**


❛❛**_This guy is the future of WordPress plugins. The interface is the very definition of simplicity and everything just works right out of the box._**❜❜

**_-amallulla_**

Like that plugin? Hate it? Want a new feature? **[Send your feedback](https://bplugins.com/support)**


### Check out our other WordPress Plugins-

[**Html5 Audio Player**](https://bplugins.com/products/html5-audio-player/) – Listen audios with awesome visuals.

[**PDF Poster**](https://bplugins.com/products/pdf-poster/) – Display/Embed PDF files with different styles.

[**StreamCast**](https://bplugins.com/products/streamcast-radio-player/) – Customizable radio player with different skins.

[**3D Viewer**](https://bplugins.com/products/3d-viewer/) – Embed 3D models and 3D products with interaction.

[**Advanced Post Block**](https://bplugins.com/products/advanced-post-block/) – Show posts and custom posts in different layouts.


== Installation ==

This section describes how to install the plugin and get it working.

e.g.

1. Upload `plugin-directory` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Use the shortcode in page, post, or in widgets.
4. If you want video in your theme PHP file, Place `<?php echo do_shortcode('YOUR_SHORTCODE'); ?>` in your templates


== Frequently Asked Questions ==

= How do I install this plugin? =

You can install it as other regular WordPress plugins. No different way. Please see on installation tab.

= What Video type can I play? =

You can play mp4, ogg video files.

= How many players i can publish on my site? =

You can publish unlimited videos, there are no limits. 

= Will this plugin work/be compatible with the theme I use? =

This plugin is compatible with most themes. But, unfortunately, we cannot check it with all third-party themes (especially paid ones) for compatibility, therefore there are cases when this plugin does not work with a third-party theme. We constantly check this plugin for compatibility with third-party themes. If we find that this plugin is incompatible with a third-party theme, and if we can fix it on our part, we release an update of our plugin to fix the problem.

If you find a conflict between our plugin and a third-party theme, please let us know and we will definitely release an update of our plugin to fix the problem.
 
= Will this plugin work/be compatible with other plugins that I use? =
This plugin is compatible with most plugins. But, unfortunately, we cannot check it with all third-party plugins (especially paid ones) for compatibility, therefore there are cases when this plugin does not work with a third-party plugin. We constantly check this plugin for compatibility with third-party plugins. If we find that this plugin is incompatible with a third-party plugin, and if we can fix it on our part, we release an update of our plugin to fix the problem.

If you find a conflict between our plugin and a third-party plugin, please let us know and we will definitely release an update of our plugin to fix the problem.

= What PHP version is required? =
- The free version requires PHP **7.4** or higher.
- The Pro version (with advanced features and Freemius integration) requires PHP **8.1** or higher.

= Where do I report security bugs found in this plugin? =
Please report security bugs found in the source code of the HTML5 Video Player – Embed and Play Videos in Custom Player plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/9e5fb205-6f66-453b-bdaa-c7c587b83810). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.

== Source Code ==

You can find the source code, report bugs, and contribute to the development of this plugin on our GitHub repository: 
[**HTML5 Video Player on GitHub**](https://github.com/bPlugins/html5-video-player-wp)

== Third-Party Libraries ==

This plugin bundles the following third-party library:

= Codestar Framework =

* **Source:** [http://codestarframework.com/](http://codestarframework.com/)
* **GitHub:** [https://github.com/Codestar/codestar-framework](https://github.com/Codestar/codestar-framework)
* **License:** GPLv2 or later – [https://github.com/Codestar/codestar-framework/blob/master/LICENSE](https://github.com/Codestar/codestar-framework/blob/master/LICENSE.md)
* **Purpose:** Provides the options framework for the plugin's settings and shortcode generator.

**Plyr**
- Version: 3.8.4
- Purpose: Provides the customizable HTML5, YouTube, and Vimeo media player interface used to render videos.
- License: MIT
- Website: https://plyr.io
- Source code: https://github.com/sampotts/plyr
- Bundled file: public/js/plyr-v3.8.4.polyfilled.js

= bpl-tools =
* Source / GitHub: https://github.com/bPlugins/bpl-tools
* License: GPL-2.0-or-later – https://www.gnu.org/licenses/gpl-2.0.html
* Purpose: Shared utility library providing admin dashboard components and common Gutenberg editor controls.
* External Services: The library may connect to bPlugins, WordPress.org, and Freemius services for product data and checkout functionality. See full details: https://github.com/bPlugins/bpl-tools#external-requests--why-they-are-made

== Screenshots ==

1. Add New Video
2. Preview
3. Password Protected Video
4. Popup Player
5. Video From YouTube
6. Video From Vimeo
7. VAST Ads
8. Gutenberg Block
9. Settings
10. Playlist Settings
11. Analytics
12. Quick Player Settings
13. Gutenberg Block Settings

== Changelog ==

= 2.11.3 - 16 June, 2026 =
* Improved: Updated admin dashboard design
* Improved: Removed unused code, dead asset registrations, and leftover images
* Improved: Code quality and general maintenance
* Fixed: Custom poster not showing for Vimeo player

= 2.11.2 - 20 May, 2026 =
* Fixed: Player does not showing
* Fixed: Block encounter error

= 2.11.1 - 18 May, 2026 =
* Removed: Locked premium-only fields 
* Improved: Security hardening for video data storage and AJAX request handling
* Improved: Code cleanup — removed unused code

= 2.11.0 - 26 Apr, 2026 =
* New: Added 6 Skin (Default, Stacked, Modern, Floating Pill, Classic Minimal, Stacked Dual-Row, Modern Mobile Stack) (Pro)
* New: Email Capture (Default, Mailchimp, MailerLite, ActiveCampaign, Webhook, FluentCRM) (Pro)
* New: Save State option in Classic Shortcode Generator
* Update: Added Popup options in Classic Shortcode Generator
* Fixed: Watermark issue


= 2.10.1 - 05 Apr, 2026 =
* Improved: PHP Compatibility	
* Fixed: Security Vulnerabilities	
* Fixed: Video Fullscreen Orientation on mobile (Only the last video works correctly)
* Fixed: Duplicate caption for vimeo video
* Improved Code

= 2.10.0 - 15 Mar, 2026 =
* New: Add logo in admin menu
* New: Add Presets
* Update: Freemius SDK

= 2.9.1 - 05 Mar, 2026 =
* Fixed: Cross origin issue

= 2.9.0 - 03 Mar, 2026 =
* New: Integrate Google Analytics GA4 (Premium)
* Fixed: Duplicate Video Player
* Update: Help & Demo page
* Update: Move shortcode area to top

= 2.8.1 - 18 Feb, 2026 =
* Fixed: crashed the WooCommerce order view page
* Fixed: Loading your CSS everywhere.

= 2.8.0 - 17 Feb, 2026 =
* New: Custom Play Button (Premium)
* New: Display video based on user role — logged-in users, logged-out users, or everyone (Premium).
* New: Edit Icon in toolbar to change/upload new video
* Update: Icons before each PanelBody title in the Gutenberg block
* Update: Help text for control fields
* Update: Remove Extra menus (affiliate, contact) 
* Update: Move the shortcode area from the top to the right in the classic editor
* Update: SVG icons now loading from the self-host 
* Improved: Gutenberg Block Settings UI
* Improved: Classic Shortcode Generator UI
* Improved: Overall UI consistency and clarity
* Fixed: Analytics issue and added new information to get accurate analytics
* Fixed: Play/Pause icon does not work in playlist video list
* Fixed: hasBtn enable/disable getting error on block (Popup)


= 2.7.2 - 25 Oct, 2025 =
* Fixed: Stream Video does not play on iPhone (Premium)
* Update: Dashboard
* Feature: Change Brand Color 

= 2.7.1 - 24 Sep, 2025 =
* Fixed: Stream video does not play on playlist

= 2.7.1 - 16 Aug, 2025 =
* Fixed: Video does not play when Gutenberg plugin installed


= 2.7.0 - 12 Aug, 2025 =
* Fixed: Elementor issue
* Fixed: Box shadow in progressbar
* New Page: Dashboard
* New Block: Vimeo Player
* New Block: Youtube Player
* Improved: Code

= 2.6.2 - 3 July, 2025 =
* Fixed: Not initialized properly when metadata is set to none
* Feature: Hide/Encoded Stream Video URL

= 2.6.1 - 26 May, 2025 =
* Fixed: Error on update Ratio

= 2.6.0 - 23 May, 2025 =
* Feature: Index video on google 
* Feature: Autoplay when visible on Screen (Elementor) - (Premium)
* Security: Improved Security
* Update: WordPress SDK

= 2.5.39 - 8 May, 2025 =
* Fixed: progressbar does not update
* Fixed: Function _load_textdomain_just_in_time was called incorrectly.

= 2.5.38 - 27 Jan, 2025 =
* Update: Freemius SDK Update

= 2.5.37 - 18 Jan, 2025 =
* Fixed: Undefined array key â€œpasswordProtectedâ€

= 2.5.36 - 11 Jan, 2025 =
* Fixed: Vulnerability

= 2.5.35 - 4 Sep, 2024 = 
* Improved: Security

= 2.5.34 - 24 Aug, 2024 = 
* Fixed: Video only showing  for administrator

= 2.5.33 - 22 Aug, 2024 = 
* Fixed: Security Issue

= 2.5.32 - 3 Aug, 2024 = 
* Tried to Fixed: Unknown Error when activate (not for everyone)

= 2.5.31 - 29 July, 2024 = 
* Improved: Removed extra code

= 2.5.30 - 23 June, 2024 = 
* Fixed: brand color
* Fixed: Caption font-size 

= 2.5.28 - 17 March, 2024 = 
* Improved: Password Protected
* Fixed: Thumbnail on Safari

= 2.5.27 - 4 Feb, 2024 = 
* Improved: Security issues

= 2.5.26 - 24 Jan, 2024 = 
* Fixed: aws.png not found in backend

= 2.5.25 - 23 Jan, 2024 = 
* Improved: Security

= 2.5.24 - 11 Jan, 2024 = 
* Fixed: Removed CDN URL

= 2.5.23 - 9 Jan, 2024 = 
* Fixed: 404 not found

= 2.5.22 -27 Dec, 2023 = 
* Fixed: Undefined property: stdClass::$plan_id

= 2.5.21 - 25 Dec, 2023 = 
* Fixed: download button
* Fixed: 404 not found error

= 2.5.20 - 24 Dec, 2023 = 
* Fixed: Added Quick Player

= 2.5.19 - 30 Nov, 2023 = 
* Fixed: AWS picker is not working

= 2.5.17 - 24 Nov, 2023 = 
* Feature: Set Default Ratio

= 2.5.15 - 28 Sep, 2023 = 
* fixed: str_contains issue

= 2.5.14 - 24 Sep, 2023 = 
* Improved: Autoplay in all devices

= 2.5.13 - 23 Sep, 2023 = 
* Fix the aspect ratio issue

= 2.5.12 - 22 Sep, 2023 = 
* Fix the iOS video height issue.

= 2.5.8 - 29/09/2022 = 
* issue fixed: autoplay on mobile

= 2.5.7 - 22/08/2022 = 
* Codestar framework updated

= 2.5.6 - 16/04/2022 = 
* Added an option to pause other players on play video

= 2.5.5 - 16/04/2022 = 
* pause other players on play

= 2.5.4 - 23/03/2022 = 
* Solved the fullscreen issue on Safari

= 2.5.3 - 22/03/2022 = 
* rotate screen automatically when entering fullscreen

= 2.5.2 - 08/02/2022 = 
* option to disable [video] shortcode to avoid conflict

= 2.5.0 - 08/02/2022 = 
* removed black background before load.

= 2.4.9 =
* Removed unnecessary text

= 2.4.6 = 
* Fixed Elementor Addon mobile issue

= 2.4.5 = 
* Option to disable Gutenberg shortcode generator 

= 2.4.3 = 
* Fullscreen issue fixed. 

= 2.4.1 =
* Advanced Shortcode Generator 

= 2.3.7 =
* Ability To Customize ALL Controls
* Added Elemenotor Addons
* Added Gutenberg Block
* Improved code quality
* Fixed Security issue

= 1.5.0 =
* Added Fast Forward Button
* Added Fast Rewind Button
* Added Fast Reset Button
* Fixed a minor bug

= 1.4 =
* Fix Volume issue
* Enable Direct Download with file name.
* Improved performance

= 1.3 =
* Add support for Gutenberg Block

= 1.2 =
* Add modern player skin 
* Improved performance

= 1.1 =
* Fix player position issue

= 1.0 =
* Initial Release

== Upgrade Notice ==

= 2.11.1 =
The [video] shortcode has been removed. If you embedded players using [video], switch to the [video_player] shortcode or the HTML5 Video Player block. Existing [video_player] shortcodes and Gutenberg blocks are unaffected.