file_shadowbox.module in Shadowbox 8
File Shadowbox, a JavaScript media viewer application for displaying content in a
modal dialogue for file field.
File
file_shadowbox/file_shadowbox.module
View source
<?php
define('FILE_SHADOWBOX_ICOPATH', drupal_get_path('module', 'file_shadowbox') . "/images/icos/");
function _get_vimeo_thumbnail($id) {
$hash = unserialize(file_get_contents("http://vimeo.com/api/v2/video/{$id}.php"));
return $hash[0]['thumbnail_medium'];
}
Functions
Constants
Name |
Description |
FILE_SHADOWBOX_ICOPATH |
@file
File Shadowbox, a JavaScript media viewer application for displaying content in a
modal dialogue for file field. |