benecaster_episode_preview_video_html
The preview player’s markup on every surface that shows it. Return '' to show none. A <video> or <iframe> here is printed for a visitor who failed the access check, so keep to what $preview names.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$html |
string |
— | The player markup. |
$preview |
array |
— | The preview, as `benecaster_episode_preview_video` returned it. |
$episode_id |
int |
— | The episode. |
$show_id |
int |
— | The episode's show. |
Returns:
string
Affects
- Episode page player
Need this built rather than just documented? See our services →