L
L
ligisayan2015-10-29 11:58:09
JavaScript
ligisayan, 2015-10-29 11:58:09

Why is the video positioned incorrectly for the site?

Welcome all! I want to add a video background to the site, which will initially be loaded with a picture, and when you click on the button, the video from YouTube will be played. I've implemented the basics, but how can I make sure that the video is loaded exactly closing the image and the button is aligned in the middle and everything is adaptive and cross-browser friendly at the same time?
fiddle

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GaserV, 2015-10-29
@ligisayan

because you are attaching an iframe to the button.
http://jsfiddle.net/669zdgrj/3/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question