diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-10-18 14:41:38 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-10-18 14:41:38 +0200 |
commit | 917a3971302791d9df67c047c4e663c9fb04f0c4 (patch) | |
tree | bb5c0419c11d17654b392ce7512588a06af49811 /app | |
parent | 36372694c6bbb82aea8578c5c1a492bb6f10c39d (diff) | |
download | wcms-917a3971302791d9df67c047c4e663c9fb04f0c4.tar.gz wcms-917a3971302791d9df67c047c4e663c9fb04f0c4.zip |
little fix
Diffstat (limited to 'app')
-rw-r--r-- | app/class/controllerhome.php | 3 | ||||
-rw-r--r-- | app/class/media.php | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/app/class/controllerhome.php b/app/class/controllerhome.php index 6932dfb..7691bab 100644 --- a/app/class/controllerhome.php +++ b/app/class/controllerhome.php @@ -77,6 +77,9 @@ class Controllerhome extends Controllerart } } + /** + * Render every pages in the database + */ public function renderall() { if ($this->user->iseditor()) { diff --git a/app/class/media.php b/app/class/media.php index f48c3b9..d458a33 100644 --- a/app/class/media.php +++ b/app/class/media.php @@ -100,7 +100,7 @@ class Media break; case 'video': - $code = '<video controls src="' . $this->getincludepath() . '"><video/>'; + $code = '<video controls=""><source src="' . $this->getincludepath() . '" type="video/' . $this->extension . '"></video>'; break; } |