matthojo / videojs-Background

Allows for videos to be displayed as a full background to any element.
MIT License
77 stars 41 forks source link

video.js controls #8

Closed nppsbh closed 9 years ago

nppsbh commented 9 years ago

Hi. Is it possible to use video.js control bar when using videojs-Background? Because they are not visible. Probably due to screen resolution? Thanks

matthojo commented 9 years ago

Currently this is not possible, sorry. videojs-background is intentionally 'control-less' so the background elements is all video.

Loac-fr commented 9 years ago

Just in case, as I needed the same thing for testing purpose : Assuming you have a relative positionned body or parent, add this css :

.vjs-default-skin.vjs-has-started .vjs-control-bar{
    width: 50%;
    left: 50%;
    bottom: 1vh;
    transform: translateX(-50%);
    z-index: 1000;
}