Updated photo viewing
This commit is contained in:
@@ -132,6 +132,7 @@ class Video extends Abstracted\Catalog
|
||||
$this->gps_altitude = $this->property('gps_altitude');
|
||||
}
|
||||
|
||||
// @todo Now set software_id
|
||||
public function setMakeModel()
|
||||
{
|
||||
$this->make = $this->property('make');
|
||||
@@ -170,7 +171,7 @@ class Video extends Abstracted\Catalog
|
||||
return strtolower($mime ? File::mime_by_ext(pathinfo($this->filename,PATHINFO_EXTENSION)) : pathinfo($this->filename,PATHINFO_EXTENSION));
|
||||
}
|
||||
|
||||
public function view()
|
||||
public function getHtmlImageURL()
|
||||
{
|
||||
return sprintf('<video width="320" height="240" src="%s" controls></video>',url('/v/view/'.$this->id));
|
||||
}
|
||||
|
Reference in New Issue
Block a user