aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2015-02-27 19:59:23 +0100
committerMaZderMind2015-02-27 19:59:23 +0100
commit40c0a97e7b4ec5aad5549669f1481f5b257652d0 (patch)
treecdb7584d1f6718f9dd820b8dfbf69c2eda9b9ea8 /template
parented8b20bc6cb03a8f3521b169e8778d8ede23ea26 (diff)
Video-Player placement & fixes
Diffstat (limited to '')
-rw-r--r--template/assemblies/player/video.phtml2
-rw-r--r--template/page.phtml8
2 files changed, 5 insertions, 5 deletions
diff --git a/template/assemblies/player/video.phtml b/template/assemblies/player/video.phtml
index 0955492..1508aba 100644
--- a/template/assemblies/player/video.phtml
+++ b/template/assemblies/player/video.phtml
@@ -1,4 +1,4 @@
-<div style="width: 100%; height: 100%; max-width: <?=h($width)?>px; margin: 0 auto;">
+<div style="max-width: <?=h($width)?>px; max-height: <?=h($height)?>px;" class="video-wrap">
<video
autoplay="autoplay"
preload="auto"
diff --git a/template/page.phtml b/template/page.phtml
index b3f49b0..2815c77 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -41,15 +41,15 @@
<link href="assets/img/favicon/32x32.png" rel="icon" type="image/png" sizes="32x32" />
<link href="assets/img/favicon/16x16.png" rel="icon" type="image/png" sizes="16x16" />
+ <link type="text/css" rel="stylesheet" href="assets/mejs/mediaelementplayer.min.css" />
+ <link type="text/css" rel="stylesheet" href="assets/css/main.css" />
+
<script type="text/javascript" src="assets/js/lib/jquery.min.js"></script>
<script type="text/javascript" src="assets/js/lib/jquery.scrollTo.min.js"></script>
<script type="text/javascript" src="assets/js/lib/bootstrap.min.js"></script>
- <link type="text/css" rel="stylesheet" href="assets/css/mejs/mediaelementplayer.min.css" />
- <script type="text/javascript" src="assets/js/lib/mediaelement-and-player.min.js"></script>
+ <script type="text/javascript" src="assets/mejs/mediaelement-and-player.min.js"></script>
<script type="text/javascript" src="assets/js/lustiges-script.js"></script>
-
- <link type="text/css" rel="stylesheet" href="assets/css/main.css" />
</head>
<body class="<?=h($page)?>">
<? include("$assemblies/header.phtml") ?>