Skip to main content
Raw embeds and WordPress do not get along. The editor rewrites them. Plugins strip them. A pasted script survives exactly until someone re-saves the page. The plugin avoids all of it.

Install

1

Copy the plugin

Copy the trackplay/ folder into wp-content/plugins/.
2

Activate it

In WP Admin, open Plugins and activate TrackPlay Video.
Requires WordPress 5.9 or later, and PHP 7.4 or later.

Three ways to embed

In the block editor, add the TrackPlay block and paste your video code.The editor shows a placeholder card, not a live player. That is deliberate. Loading the real player inside the editor iframe would bypass the step that resolves split tests, so what you saw in the editor would not be what your visitors get.The published page renders the real thing.

Why it is not an iframe

The plugin does not render an iframe. It asks TrackPlay what to embed, caches the answer for an hour, and injects the loader. That indirection is the whole point. It is what lets a video in a split test resolve to the right arm for each visitor, and stay on that arm when they come back. An earlier version hardcoded an iframe, pinned every viewer to a single arm, and quietly broke every test running through WordPress.
Using Elementor? Use the TrackPlay block or shortcode there too, not an HTML widget. Same reason.