ceasar

ceasar supports this item

Supported

This author's response time can be up to 1 business day.

Popular questions for this item

Responsive player

This is not really a responsive player. However you can adjust it a little bit for mobile phones.

Open wp-content/plugins/youtubeplaylist/css/youtubeplaylist.css and add at the bottom.

Adjust the width for yourself. If you use the playlist bottom you can set the #yt_holder, .videoyou width to 100% . In case of the right playlist you have to set it in px

/* target small screens (mobile devices or small desktop windows)*/
@media only screen and (max-width: 480px)
{
    #yt_holder, .videoyou {
        width: 300px!important;
        min-width: 100px;
        margin:0!important;
    }
    #ytvideoiframe, .ytvideo {
        width: 100%!important;
        height:225px!important;
    }
    .youtitle {
        display:none;
    }
    .ytvideoright {
        height:225px!important;
    }
    #yt_holder .youplayer ul.videoyou {
        margin-top:2px!important;
    }
    #yt_holder .youplayer ul.videoyou li a {
        height:62px!important;
        padding-top: 1px!important;
        padding-left: 4px!important;
    }
    #yt_holder .youplayer ul.videoyou li {
        margin: 2px 0 0 0;
    }
    #yt_holder .youplayer ul.videoyou img {
        display:none;
    }
    #yt_holder .youplayer .time {
        display:none;
    }
    .videoytright {
        display:none;
    }
    #ytvideo {
        width: 100%!important;
    }

}

If your theme use -moz-box-sizing and playlist looks out of line

Open wp-content\plugins\youtubeplaylist\css\youtubeplaylist.css

and uncomment or use the following snippet ( line 8 )

#yt_holder, #yt_holder .youplayer ul.videoyou li a, #yt_holder .youplayer ul.videoyou li a.currentvideo  {
    -moz-box-sizing: content-box!important;
    -webkit-box-sizing: content-box!important;
    box-sizing: content-box!important;
}

How to add your own shortcodes

For example set a limit

Open ytplaylist_plugin_class.php en find

$video->set_max(50);

replace with

if( !empty($atts["max"]) )
         $video->set_max($atts["max"]);
else
         $video->set_max(50);

Now you can use max=”10” as an shortcode

By upgrading overwrite only files ?

Nope, overwrite all files, then deactivate and activate again to make sure the db is updated

Language special chars problems (for example russian lang)

Open class/ class.youtubelist.php and find (around line 78)

return mb_convert_encoding($string, 'HTML-ENTITIES', 'UTF-8');

change to

return mb_convert_encoding($string, 'UTF-8', 'auto');

More then one player on a page

This is not possible with the wordpress version because of the used ID’s

I don’t see images and clicking brings me to the youtube website

Then you have a js error on your page. In chrome right click – check element and select the console tab to see which js errors there are In firefox – download firebug to inspect your website for js errors

Random order of your playlist

Open ytplaylist_plugin_class.php and find

foreach($video->get_videos() as $key => $val )

change to

$new_array = $video->get_videos();
shuffle($new_array);
foreach ($new_array as $yKey => $val )

Show more

Contact the author

This author provides limited support for this item through this item's comments.

Item support includes:

  • Availability of the author to answer questions
  • Answering technical questions about item’s features
  • Assistance with reported bugs and issues
  • Help with included 3rd party assets

However, item support does not include:

  • Customization services
  • Installation services

View the item support policy

by
by
by
by
by
by