Square Candy Better YouTube
Improves the look and behavior of YouTube videos on WordPress.
by Square Candy · github.com/squarecandy/squarecandy-better-youtube · website
★ 1stars
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/squarecandy/squarecandy-better-youtube/archive/refs/heads/master.zipDeclares an update source (https://github.com/squarecandy/squarecandy-better-youtube), so updates arrive through the plugin's own updater.
From the readme
squarecandy-better-youtube
A WordPress plugin to improve the look and behavior of YouTube videos on WordPress.
- hide title and text info
- simplify controls
- don't show suggested videos on completion
- "modest branding"
- "dark" theme
- use HD if available
- apply responsive iframe via fitvids.js
We filter oembedresult & embedoembedhtml to:
- replace any youtube playlist iframes with our own playlist code (looks for youtube links like https://www.youtube.com/watch?v=xxx&list=yyy), or
- wrap youtube iframes in fitvid divs & add extra parameters, or
- wrap vimeo iframes in .fitvid divs
We filter gettheexcerpt to wrap all iframes in fitvid divs.
We filter thecontent to replace with
Then we have js to:
- run fitvids (responsive size) on .fitvid divs
- make .custom-playlist a magnific popup
- control display/interaction of playlists
To locate content to test for this plugin:
- Many sites have a page like 'page-for-testing' that often contains youtube/vimeo videos
- Mysql query for youtube/vimeo embeds not already wrapped in an inframe or
- Mysql query for youtube playlists:
Playlist Option
To enable the nice visual playlist generator, you must obtain a google API
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.3.2 | Apr 2, 2026 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.