Truce Label Video Player with VAST Ads
Truce Label Video Player with VAST Ads is a lightweight WordPress video player that plays your own video and shows a single post-roll video ad — a VAST ad that runs when the video finishes. Add it to any post or page with a Gutenberg block or a shortcode. It is built to stay out of your server’s way
Truce Label Video Player with VAST Ads is a lightweight WordPress video player that plays your own video and shows a single post-roll video ad — a VAST ad that runs when the video finishes. Add it to any post or page with a Gutenberg block or a shortcode.
It is built to stay out of your server’s way: there is no server-side fetching, no custom database tables, and no cron jobs . Your ad tag and settings live in a single WordPress option, the player uses the browser’s native <video> element (no heavy third-party libraries are loaded), and the ad is rendered entirely in the visitor’s browser by Google’s IMA SDK. The player script and the ad code load only on pages that actually contain a player , so the rest of your site is untouched.
What the free version does
- Native MP4 playback in every modern browser, plus HLS ( .m3u8 ) in browsers that support it natively (Safari and iOS).
- One post-roll video ad when the video ends, using a single VAST tag URL from your own ad network.
- Native skip handling — the ad’s own skipoffset controls whether it can be skipped; the IMA SDK draws the skip button automatically.
- Graceful ad failure — if the ad errors or does not load within 8 seconds, playback ends cleanly with no black screen.
- Gutenberg block + shortcode — add the VAST Video Player block, or use [vastvp_player] in classic content.
- Optional poster image for the pre-play thumbnail (no scraping, no network calls).
- Responsive and touch-friendly.
Shortcode example
[vastvp_player video="https://example.com/video.mp4" poster="https://example.com/thumb.jpg" postroll="https://your-ad-network.example/vast.xml"]
If you set a global post-roll tag under Settings, you can omit the postroll attribute and it will be used automatically.
Upgrade to Pro
VAST Pro Player Ultimate (a separate add-on from Truce Label ) builds on this free player and adds:
- Pre-roll ads (before the video starts) and mid-roll ads (at timed intervals during playback), with a configurable interval.