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 | |
parent | 36372694c6bbb82aea8578c5c1a492bb6f10c39d (diff) | |
download | wcms-917a3971302791d9df67c047c4e663c9fb04f0c4.tar.gz wcms-917a3971302791d9df67c047c4e663c9fb04f0c4.zip |
little fix
-rw-r--r-- | app/class/controllerhome.php | 3 | ||||
-rw-r--r-- | app/class/media.php | 2 | ||||
-rw-r--r-- | composer.json | 2 |
3 files changed, 5 insertions, 2 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; } diff --git a/composer.json b/composer.json index 22a7143..6450f32 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "w-cms", "description": "point'n think", - "version": "1.6.1", + "version": "1.6.2", "require": { "michelf/php-markdown": "^1.8", "league/plates": "3.*", |