partials
1 month ago
ads.php
1 month ago
bnr-img.png
11 months ago
calendly.php
1 month ago
custom-logo.php
1 month ago
dailymotion.php
2 years ago
elements.php
4 days ago
general.php
6 months ago
go-premium.php
7 months ago
google-calendar.php
1 month ago
hub.php
4 days ago
instagram.php
1 month ago
license.php
5 years ago
main-template.php
1 month ago
opensea.php
2 years ago
player-engagement.php
2 months ago
premium.php
2 years ago
settings.php
1 month ago
shortcode.php
1 month ago
soundcloud.php
2 years ago
sources.php
9 months ago
spotify.php
2 years ago
twitch.php
2 years ago
vimeo.php
2 years ago
wistia.php
1 month ago
youtube.php
1 year ago
player-engagement.php
20 lines
| 1 | <?php |
| 2 | /* |
| 3 | * Player & Engagement landing page (Pro INACTIVE only). |
| 4 | * |
| 5 | * Renders the same React mount point Pro uses. The CustomPlayer React app |
| 6 | * reads window.embedpressCustomPlayerData.isProActive — when false, it |
| 7 | * renders the full Pro layout (header + tabs) with an UpgradePanel in the |
| 8 | * body instead of fetching engagement data. Identical markup to Pro; |
| 9 | * only the body content differs. |
| 10 | * |
| 11 | * When Pro IS active, Pro plugin's Admin_Page registers its own page on |
| 12 | * this same slug and supplies REST endpoints + isProActive=true. |
| 13 | */ |
| 14 | |
| 15 | if (!defined('ABSPATH')) exit; |
| 16 | ?> |
| 17 | <div class="embedpress-custom-player-wrapper"> |
| 18 | <div id="embedpress-custom-player-root"></div> |
| 19 | </div> |
| 20 |