Commit 6b52f7f9 authored by christianrhansen's avatar christianrhansen

fixed broken media-player on mp4s

parent 329e7f9e
Pipeline #50636 passed with stage
in 1 minute and 47 seconds
<template lang="pug">
vue-video-player(:class="classConfig",
vue-video-player(
ref="videoPlayer",
:class="classConfig",
:options="playerOptions",
:playsinline="true",
:audio="isAudio",
......@@ -93,6 +94,7 @@
},
classConfig () {
return {
'mp4': this.annotation.body.source.type === 'video/mp4',
'video-player': true,
'video-player-box': true,
'vjs-big-play-centered': true,
......@@ -231,4 +233,10 @@
.video-js .vjs-tech
border-right: 1px solid #111 !important
border-bottom: 1px solid #111 !important
.mp4
.video-js .vjs-tech
max-height 100%
top 50%
transform translateY(-50%)
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment