Adds an additional field to the user profile page and allow you to show your videos on your website.
The shortcode is: [youtube-user]
You can use these parameters:
[youtube-user count="2"][youtube-user user="3"]The template tag is
if ( function_exists( 'ypf_show_video' ) ) {
echo ypf_show_video();
}
It accepts an array of parameters.
You can use these parameters:
Example:
if ( function_exists( 'ypf_show_video' ) ) {
echo ypf_show_video( array( 'count' => 2, 'user_id' => 2 ) ); // 2 videos from user ID 2
}
If you don't enter video sizes in the plugin options, it will use the width from 'Media' and calculate the height using the 16:9 aspect ratio.
Here's some video sizes:
In 2.0.2 has the show_video() function been renamed to ypf_show_video() to prevent possible conflicts with other plugins/themes.
if ( function_exists( 'ypf_show_video' ) ) {
echo ypf_show_video();
}
Requires: 3.1 or higher
Compatible up to: 3.3.2
Last Updated: 2012-2-20
Downloads: 4,224
1 of 1 support threads in the last three weeks have been resolved.
Got something to say? Need help?