
This plugin adds the shortcode [youtube -white-label ] and allows you to input any YouTube™ video (that allows embeding outsite the YouTube™ domain) with control over the logo, player, autostart and more.
A shortcode generator has been added to all public $post_type edit screens. You can modify the options in the included metabox and it will output the correct shortcode arguments.
If you’d like to remove the meta box from a certain $post_type use the remove_youtube_white_label_meta_box filter.
Alternativly you can modify the shortcode yourself, where 1 is true and 0 is false:
[youtube -white-label id="" height="" width="" branding="1" autohide="1" autoplay="0" controls="0" hd="1" rel="0" showinfo="0" autosize="1" border="0" cc="0" disablekb="1" fullscreen="1" ]
For question please visit my blog @ http://austinpassy.com
Additional controls listed on Google code for the terminology of each shortcode argument.
Compatible with the newest Video SEO plugin by Yoast.com (> 1.4.2)
Download
Latest version: Download YouTube White Label Shortcode v0.2.6.1 [[zip]] (Downloaded: 4149 times)
FAQ
Nothing yet
Changelog
- Version 0.2.6 (12/3/13)
-
- Added filter to remove metabox from $post_type
remove_youtube_white_label_meta_box - Updated dashboard.
- Cleaned up settings.
- Updated jQuery
- Tested against 3.5
- Added filter to remove metabox from $post_type
- Version 0.2.5 (12/26/11)
-
- Updated admin scripts to be called on
admin_enqueue_scripts(3.3). - Cleaned up some output code.
- Updated admin scripts to be called on
- Version 0.2.4 (11/8/11)
-
- Feeds updated.
- WordPress 3.3 check.
- Version 0.2.3 (9/8/11)
-
- Dashboard fix.
- Version 0.2.2 (6/23/11)
-
- [BUG FIX] An error in the dashboard widget is casuing some larg images. Sorry.
- Version 0.2.1.1 (6/23/11)
-
- Add
remove_youtube_white_label_dashboardto your options and set to1if you’d like the dashboard widget removed.
- Add
- Version 0.2.1 (6/21/11)
-
- Added
autosizeclass to iframe allowing more than one video to be shown with each able to automatically ajust size or not.
- Added
- Version 0.2 (6/20/11)
-
- Updated
modestbrandingto be the first parameter (so the YouTube logo stays hidden). - Aded parameter
&title=when showinfo is active and branding is active to keep the YouTube logo hidden.
- Updated
- Version 0.1.9 (6/16/11)
-
- Spelling error in the readme shortcode.
- All new argument options shown in readme.
- Testing out auto
heightandwidthoptions if those argument are left empty. Will use$content_width. - [bug] Color codes.
- Version 0.1.8 (6/13/11)
-
- Updated for the new HD preview image.
- A few new shortcode values:
border,cc_load_policy,color1,color2,disablekb,fs,branding.
- Version 0.1.7 (6/1/11)
-
- For some reason YouTube™ started auto-playing videos whether or not the
autoplayparameter was set to0(false). But if not there it doesn’t auto-play. So this update fixes that untill they fix it or change it again.
- For some reason YouTube™ started auto-playing videos whether or not the
- Version 0.1.6 (5/21/11)
-
- Fixed jQuery output, again. This time fixed what I overwrote from
0.1.1update.
- Fixed jQuery output, again. This time fixed what I overwrote from
- Version 0.1.5 (5/18/11)
-
- Fixed admin jQuery to work on all
post_types.
- Fixed admin jQuery to work on all
- Version 0.1.4 (5/17/11)
-
- Fixed jQuery bug.
- Added
.potfile for translation.
- Version 0.1.3 (5/17/11)
-
- Security fixes.
- Added front end jQuery file option
autosizeto shortcode which will “autosize” the video to the content width.
- Version 0.1.2 (5/17/11)
-
- Some code cleanup.
- Version 0.1.1 (5/17/11)
-
- Updated
.attr()to.prop()for jQuery 1.6.x. - Added jQuery version check to fallback on
.attr()if running old jQuery.
- Updated
- Version 0.1 (5/16/11)
-
- Initial release.


[...] YouTube White Label Shortcode allows your to generate a shortcode with the proper inputs with the simple to use generator [...]
Hi,
This is a great plugin, but it’s not working for WP 3.1.3. The video never appears on the page. Any suggestions?
I’ve tested it and can’t duplicate your problem.
[...] of yours runs WordPress or not (of course, you don’t need that for WPCandy!).Austin Passy announced his YouTube White Label shortcode plugin for WordPress.Deluxe Blog Tips created a Meta Box script for WordPress that’ll help you [...]
Hi, it seems that something isn’t working. I uploaded the plugin and added a vid, but it won’t show. I added the same vid below via JetPack and it works just fine. Any idea what the problem could be?
Just in case, here’s the link:
http://filmowka.zpolski.eu/2011/06/22/wideo/
If you look at the code your video ID is wrapped with
<code></code>attributes, so that will break it right there. How did you enter the video’s ID?It seems the theme added the code attributes. It’s working now, thanks!
Could you tell me what would be the HTML code if a wanted to use a vid as an element of a custom post or page rather than insert it into a post with a shortcode?
Look at the PHP code, or use the shortcode and look at the HTML it prints out. Also, read the
readmefile.Thanks!
The plugin is great!
But.
Could you please remove your rss feed from the dashboard? It’s totally uncalled for.
And makes the impression of an untrusted plugin, if it does something, customers did not ask for.
Thank you.
All you have to do is add the option
remove_youtube_white_label_dashboardand it will be removed.Mick – the plugin is free, please don’t look a gift horse in the mouth by complaining about an RSS feed. By all means I’m sure the plugin author would appreciate a donation if it’s a plugin you are getting use out of.
Thanks Michelle. Hope you are enjoying it.
Hi
Its it possible to Autostart AND MUTE?
I cant find a mute option?
Not sure YouTube has that setting.
Hi
I have the below code, and it works fine, apart from when you try and view it on an iPod/iPad etc that I found on another blog and added my own video to? Any help?
You need Flash player 8+ and JavaScript enabled to view this video.
google.load("swfobject", "2.1"); function onYouTubePlayerReady(playerId) { ytplayer = document.getElementById("myytplayer"); ytplayer.playVideo(); ytplayer.mute(); } var params = { allowScriptAccess: "always" }; var atts = { id: "myytplayer" }; swfobject.embedSWF("http://www.youtube.com/v/hZqPdZT0ruw?enablejsapi=1&playerapiid=ytplayer&allowFullScreen=true&version=3", "ytapiplayer", "425", "356", "8", null, null, params, atts);Sorry can’t help you with that.
Congrats on try to improve your plugin.
I shan’t be using you again.
You do know that flash doesn’t wok on any iDevice..
where do i place the “remove_youtube_white_label_dashboard ” to clean my dash,, i love the plugin. billgilberthomes.com
In your themes
function.phpfile or a site functionality plugin.I having some trouble using the plugin. When I open a new post I dont have a button that will insert the code. have Atahualpa theme 3.7.3. please help
Thanks
Can you provide a screen shot?
how can I send the screen shot
Upload the screen show to a service like, img.ly, tinypic, dropbox, twitter, flickr, facebook..
Thanks i found the plugin but now when I put in a youtube vid address no video shows up. here is the output
[youtube-white-label id="http://www.youtube.com/watch?v=WaZg97aafHQ" height="" width="" autohide="1" autoplay="0" controls="0" branding="1" hd="1" rel="0" showinfo="0" thanks="1" autosize="1" border="0" cc="0" colorone="" colortwo="" disablekb="1" fullscreen="1" /]
You need to give it a width and height.
I put in a height 400 and width 640 and still no video
Can you submit a link so I can check out the page source code.
here it is, I put the video under the existing video on the page
http://teamlloydirvinaberdeen.com/1147/new-mma-facility-in-the-belcampriverside-aberdeen-apg-area/
could you come up with on anything on the problem
The “show info” and “branding” are set to “0″ and they still appear on the video. Below is the code I am using right now for the player in question.
[youtube-white-label id="L6K7z55tJS0" height="270" width="480" autohide="1" autoplay="0" controls="1" branding="0" hd="1" rel="0" showinfo="0" thanks="0" autosize="1" border="0" cc="0" colorone="" colortwo="" disablekb="1" fullscreen="1" /]
Here is a link to where the video is on the website:
http://goo.gl/0BYSh
What am I doing wrong? Thank you.