aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/class/controllerhome.php3
-rw-r--r--app/class/media.php2
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;
}