This plugin is a custom YouTube video player. The default player has custom control buttons that are hidden while the video is playing. Don’t worry, there is an option to use the default YouTube controls if you want. The player is meant to play only one single video, by simply entering it’s YouTube ID number. You can then size the player to any width and height, enabling you to display videos anywhere on your site. Every chromeless widget you create is unique, you can have multiple videos on one page, each with a different source and size.
This plugin is a must have for any WordPress developer. Adding videos to your site has never been easier. YouTube hosts over 35% of the video media on the internet, it would be silly not to utilize their their simple yet powerful website to store all of your videos.
To display these videos on your site, you need to embed a whole bunch of HTML, these embed snippets are the code needed to play each YouTube video on your site. This can sometimes be tedious and that is why I created the Chromeless YouTube Plugin.
The Chromeless YouTube Player is super easy, just drag a widget into your sidebar, type in the YouTube ID number of a video, give it a width and height and that is it.
- Upload the entire ‘chromeless-youtube’ folder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Create a new player widget from the wordpress dashboard: Appearance -> Widgets
- Post Shortcode: [chromeless id=hnwccozR_oI width=280 height=180 autoplay=no ytcontrols=no]
- Template PHP:
<?php chromeless_youtube ('hnwccozR_oI','280','180','no','no'); ?>
- Why do I get a blank black screen?
If YouTube has the code disabled you cannot play the video outside of youtube.com, the result is a blank black player screen. You can check to see if this is your issue by visiting youtube and clicking on the
button, if code comes up then good otherwise you cannot play it externally.
I am working on adding some error reporting for this in future versions.
- Why should I use this player?
This player allows you to easily place specific YouTube videos wherever you want on your Blog or Website. Your videos can be sized and scattered among your pages or posts, and without the default controls cluttering the experience.
- What is a YouTube ID number?
The ID number is YouTube’s unique identifier for each video. You can find the ID number in the address bar at the end of the URL after the “v=” part. It can also be found in the embed code.
- How many players can I create?
Theoretically there is no limit, but for practical reasons you may want to limit yourself to a couple of players for each page. Use your judgment, the more players that are buffering data at the same time, the more likely there is to be loading issues.
- Can I have more than one video per player?
No, for now you are limited to one. Future releases are planned with support for playlists, so stay tuned.
- My player won’t respond?
Try refreshing the page using F5, sometimes the video requests to YouTube will get stuck, due to traffic.
- My player is stuck loading?
Try refreshing the page using F5. If you have another player with the same video (same video ID) open in another tab the two players may interfere with each other depending on which browser you are using.
- How do I control playback?
If you are using the chromeless controls, just click on the video to display the basic control buttons.
Contributors & Developers
“Chromeless YouTube” is open source software. The following people have contributed to this plugin.
Interested in development?
- Hello WordPress World!
- Fixed file path issue. Last minute directory change from chromeless to chromeless-youtube, needed to change the path to the player .swf