Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
MB.js
Quasar Components Shared
Commits
ea06c9bf
Commit
ea06c9bf
authored
Mar 02, 2019
by
Anton
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.rlp.net:motionbank/mbjs/quasar-components-shared
parents
c5ce4ee2
dab60093
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
1 deletion
+60
-1
media/VideoPlayer.vue
media/VideoPlayer.vue
+9
-1
media/videojs-betweenus.styl
media/videojs-betweenus.styl
+51
-0
No files found.
media/VideoPlayer.vue
View file @
ea06c9bf
<
template
lang=
"pug"
>
vue-video-player(class="
video-player video-player-box vjs-big-play-centered
",
vue-video-player(
:
class="
classConfig
",
ref="videoPlayer",
:options="playerOptions",
:playsinline="true",
...
...
@@ -27,6 +27,8 @@
import
{
videoPlayer
}
from
'
vue-video-player
'
import
guessType
from
'
mbjs-media/src/util/guess-type
'
if
(
process
.
env
.
FEATURE_BETWEENUS
)
require
(
'
./videojs-betweenus.styl
'
)
export
default
{
components
:
{
'
vue-video-player
'
:
videoPlayer
...
...
@@ -34,6 +36,12 @@
data
()
{
return
{
type
:
undefined
,
classConfig
:
{
'
video-player
'
:
true
,
'
video-player-box
'
:
true
,
'
vjs-big-play-centered
'
:
true
,
'
vjs-betweenus
'
:
process
.
env
.
FEATURE_BETWEENUS
},
playerOptions
:
{
fluid
:
true
,
autoplay
:
this
.
autoplay
,
...
...
media/videojs-betweenus.styl
0 → 100644
View file @
ea06c9bf
// FOR EXHIBITION
.vjs-betweenus
.video-js
font-family 'Roboto'
.video-js .vjs-control-bar
height 40px
.video-js.vjs-paused .vjs-big-play-button
background #2a65ff
width 65px
height 65px
border 0
border-radius 0
.vjs-big-play-centered
.vjs-big-play-button
margin-top -33px
.vjs-icon-placeholder:before
line-height 65px !important
.vjs-button > .vjs-icon-placeholder:before
font-size 2.5em
padding-top 1px
.video-js .vjs-control-bar
background-color #2a65ffaa
.vjs-slider
background-color #ffffff55
.vjs-volume-panel
display: none
.vjs-play-control
.vjs-icon-placeholder:before
line-height 40px
.vjs-fullscreen-control .vjs-icon-placeholder:before
line-height 40px
.video-js .vjs-time-control
font-size 0.85rem
line-height 40px
.video-js .vjs-progress-control
padding-top 3px
.vjs-load-progress
background-color #ffffff55
.video-js .vjs-play-progress:before
font-size: 1.5em
right: -0.8em
top: -0.4em
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment