Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element position or Background (video position) #11

Open
Barzon opened this issue Aug 10, 2015 · 4 comments
Open

Element position or Background (video position) #11

Barzon opened this issue Aug 10, 2015 · 4 comments

Comments

@Barzon
Copy link

Barzon commented Aug 10, 2015

Hello!

After solving the other issue, I had new one...
I need to positioning the element with the video BG after some divs, but the Background does't start at the top of the video file.

How can i positioning the video in the background to add some offsets or something?

Any ideas?

@snakefooc
Copy link

Yes,

in option container used

container: document.getElementById('nameid'),

and Works !!!

@Barzon
Copy link
Author

Barzon commented Aug 12, 2015

Yes, the same as container: $('nameid');
But, when I use that option, the video container gets 1920x1080 size (screen res) and I can't leave only div with height 520px and full width of window/div (for responsive).

I only need positioning the video into the container adding a 100px offset or padding or margin from body top, the video is cutted-off by the body div's in top or others.

See http://www.escuelaudiomusica.cl/magento

@snakefooc
Copy link

add classs

.video-js{
width: 100%!important;
height: 100%:!important;
}

@matthojo
Copy link
Owner

Is this solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants