Commit f8468920 authored by Anton Koch's avatar Anton Koch

Merge branch '329-customizable-video-player---shared' into 'master'

fixed broken media-player on mp4s

See merge request !31
parents 329e7f9e 6b52f7f9
Pipeline #50698 passed with stage
in 4 minutes and 7 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