PHPackages                             kukrik/qcubed-videomanager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kukrik/qcubed-videomanager

ActiveQcubed-library[Utility &amp; Helpers](/categories/utility)

kukrik/qcubed-videomanager
==========================

QCubed-4 plugin for single VideoManager

05PHP

Since Jun 30Pushed 5mo agoCompare

[ Source](https://github.com/kukrik/qcubed-videomanager)[ Packagist](https://packagist.org/packages/kukrik/qcubed-videomanager)[ RSS](/packages/kukrik-qcubed-videomanager/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

QCubed VideoEmbed Plugin
========================

[](#qcubed-videoembed-plugin)

VideoEmbed for QCubed-4
-----------------------

[](#videoembed-for-qcubed-4)

The **VideoEmbed** plugin is a reusable QCubed-4 component designed to simplify embedding external videos into content managed through the CKEditor 4 HTML editor.
It provides a clean and structured way to select, display, store, and remove video embeds while keeping business logic fully under the developer’s control.

The plugin is intended for use in articles, news items, pages, or any other content type where rich media support is required.

[![Image of kukrik](screenshot/videomanager_screenhots_1.png?raw=true)](screenshot/videomanager_screenhots_1.png?raw=true)[![Image of kukrik](screenshot/videomanager_screenhots_2.png?raw=true)](screenshot/videomanager_screenhots_2.png?raw=true)[![Image of kukrik](screenshot/videomanager_screenhots_3.png?raw=true)](screenshot/videomanager_screenhots_3.png?raw=true)

---

Features
--------

[](#features)

- Integration with **CKEditor 4**
- Video selection and embedding via an external video manager
- Automatic embed sanitization using `cleanEmbedCode()`
- Clear separation between UI events and application logic
- Reusable and extensible architecture
- Custom QCubed event handling (e.g. delete actions)
- Compatible with **PHP 8.3+**

---

How It Works
------------

[](#how-it-works)

The VideoEmbed plugin appears on the **right side of the CKEditor interface** and allows editors to:

- Select a video
- Preview the embedded video
- Remove or replace an existing video

The plugin focuses only on **UI interaction and data transport**.
All validation, permission checks, confirmation dialogs, and database operations are intentionally left to the developer.

---

Database Requirements
---------------------

[](#database-requirements)

To use the VideoEmbed plugin, your database table must contain at least the following columns:

- `media_id`
- `video_embed`

How these fields are validated, stored, or processed is entirely application-specific.

---

Usage Notes
-----------

[](#usage-notes)

This repository contains **simplified examples** intended to demonstrate how the plugin works. The examples do not include full validation, permission checks, or advanced error handling.

It is the responsibility of the developer to implement:

- User permission checks
- Confirmation dialogs (if required)
- Business logic and database consistency
- Additional UI or workflow constraints

---

Editor Integration
------------------

[](#editor-integration)

For CKEditor 4 integration examples, see:

- `ckeditor.php`
- `ckeditor2.php`
- `ckeditor3.php`

For a more advanced media workflow, you may also refer to:

- `mediafinder.php` (from the QCubed FileManager plugin)

---

Requirements
------------

[](#requirements)

- **PHP 8.3 or newer**
- **QCubed-4**

Optional but recommended dependencies:

```
composer require qcubed-4/plugin-bootstrap
composer require kukrik/qcubed-videomanager
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance48

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fa54a368b30d867f78261c26bffe0198ff3bd0e13d14b82dcd0b6586bcd53b6?d=identicon)[kukrik](/maintainers/kukrik)

---

Top Contributors

[![kukrik](https://avatars.githubusercontent.com/u/2853034?v=4)](https://github.com/kukrik "kukrik (7 commits)")

### Embed Badge

![Health badge](/badges/kukrik-qcubed-videomanager/health.svg)

```
[![Health](https://phpackages.com/badges/kukrik-qcubed-videomanager/health.svg)](https://phpackages.com/packages/kukrik-qcubed-videomanager)
```

###  Alternatives

[hafael/laraflake

Laravel Package based on Twitter Snowflake ID Generator (64 bit ID).

288.1k1](/packages/hafael-laraflake)[coldtrick/group_tools

Combines different group additions into one plugin

305.2k](/packages/coldtrick-group-tools)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
