embed=(video|preview)
git-svn-id: http://yolanda.mister-muffin.de/svn@238 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
6ad0e6c278
commit
316feffced
1 changed files with 8 additions and 1 deletions
|
@ -72,7 +72,14 @@ elsif($query->url_param('title') or $query->url_param('id'))
|
|||
}
|
||||
elsif($rowcount == 1)
|
||||
{
|
||||
$page->{'embed'} = $query->param('embed') eq 'true' ? "true" : "false";
|
||||
if($query->param('embed') eq "video")
|
||||
{
|
||||
$page->{'embed'} = "video";
|
||||
}
|
||||
elsif($query->param('embed') eq "preview")
|
||||
{
|
||||
$page->{'embed'} = "preview";
|
||||
}
|
||||
|
||||
#if there was a single result, display the video
|
||||
my ($id, $title, $description, $publisher, $timestamp, $creator, $subject,
|
||||
|
|
Loading…
Reference in a new issue