mediafront_s3.module in MediaFront 6
Same filename and directory in other branches
File
plugins/mediafront_s3/mediafront_s3.moduleView source
<?php
/**
* Implementation of hook_playlist_node
*/
function mediafront_s3_playlist_node($node, $args) {
$additions = array();
$video = flashvideo_get_video_object($node);
if ($video["file"] != "") {
$additions["mediafiles"]["media"]["media"]["path"] = $video["file"];
}
$image = flashvideo_get_thumbnail($node, array(), TRUE);
if ($image != "") {
$additions["mediafiles"]["images"]["image"]["path"] = $image;
}
return $additions;
}
Functions
Name | Description |
---|---|
mediafront_s3_playlist_node | Implementation of hook_playlist_node |