{# # Copyright 2006 - 2016 TubePress LLC (http://tubepress.com) # # This file is part of TubePress (http://tubepress.com) # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. #} {# Non-exhaustive list of variables in this template (add-ons may add other variables). mediaPage tubepress_api_media_MediaPage Set of items on this page. widgetId string The page-unique ID for this gallery. Typically this is just a random number. playerHTML string HTML for the embedded media player. This may be empty as some players don't generate HTML on page load. paginationHTML string Pagination HTML. May be empty. paginationShowTop bool Has the user requested pagination above the thumbnails? paginationShowBottom bool Has the user requested pagination below the thumbnails? thumbHeightPx int The requested thumbnail height, in px. thumbWidthPx int The requested thumbnail width, in px. attributesToShow string[] Media item attribute names that the user has requested to display for each item in $mediaPage->getItems(). attributeLabels array An associative array of media item attribute names (strings) to untranslated labels. e.g. 'timePublishedFormatted' => 'Date posted'. The array values will be shown to the user.