Lines Matching full:video
92 foreach ($videos as $video) {
93 $this->renderVideo($renderer, $video);
103 * Get all video data for the given album id
184 * Render a preview image and put the video iframe-html into a data attribute
189 * @param array $video The video data
191 protected function renderVideo(Doku_Renderer $renderer, $video) argument
193 $title = hsc($video['name']);
194 if ($video['privacy']['embed'] === 'private') {
200 …$renderer->doc .= '<div class="plugin-vimeo-video"' . $widthAttr . ' data-videoiframe="' . hsc($vi…
202 $src = $video['pictures']['sizes'][2]['link_with_play_button'];
204 foreach ($video['pictures']['sizes'] as $picture) {
208 $caption = $this->createCaption($video);
215 * Build the caption for a video
217 * @param array $video the video data
219 * @return string HTML for the video caption
221 protected function createCaption($video) { argument
222 $title = '<span class="vimeo-video-title">' . hsc($video['name']) . '</span>';
224 $releaseDateObject = new \DateTime($video['release_time']);
226 $releaseString = '<span class="vimeo-video-releaseTime">'
230 … $description = "<span class='vimeo-video-description'>" . hsc($video['description']) . '</span>';