Meta Display Options

This page lists TubePress options that apply to the video metadata (title, runtime, description, etc) that shows up with each video.

Meta Display Toggles

The options in the tables below turn on or off the display of various bits of metadata for each video. Each option accepts true or false.

  • Example shortcode
     
    [tubepress description="true" views="false"]
  • Example in PHP
     
    <?php TubePressPro::getHTML('description="true" views="false"');

Global Toggles

The options in the table below apply to all video providers (YouTube, Vimeo, etc).

Option name Toggles display of each video's ...
author author (uploader) display name
category category
description description
id ID
length duration/runtime
tags tags/keywords
title title
uploaded date published
url original URL
views views count

YouTube Toggles

The options in the table below apply to YouTube.

Option name Toggles display of each video's ...
likes number of likes
showCountComments number of comments
showCountDislikes number of dislikes
showCountFavorites number of times marked as a favorite

Miscellaneous Meta Display Options

Option name dateFormat
Description Set the textual formatting of date information for videos. See date() for examples.
Default value M j, Y
Valid values Any format accepted by PHP's date() function
Example shortcode
[tubepress dateFormat="trl jS \of F Y h:i:s Aue"]
Example in PHP
<?php TubePressPro::getHTML('dateFormat="l jS \of F Y h:i:s A"');
Option name descriptionLimit
Description The maximum number of characters of a video's description that should be displayed. Descriptions over this limit will be truncated with .... Set to 0 for no limit.
Default value 0
Valid values Any non-negative integer.
Example shortcode
[tubepress descriptionLimit="trl jS \of F Y h:i:s Aue"]
Example in PHP
<?php TubePressPro::getHTML('descriptionLimit="l jS \of F Y h:i:s A"');
Option name relativeDates
Description Toggle display of relative dates, such as "last year" instead of "Nov 3, 1980". Currently only available in English (for now).
Default value false
Valid values true or false
Example shortcode
[tubepress relativeDates="true"]
Example in PHP
<?php TubePressPro::getHTML('relativeDates="true"');


Last Updated Feb 20, 2016 04:36PM PST
c65861bf7a72e1a8878bdf73cabbbdbf@tubepress.desk-mail.com
http://assets3.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete