M
M
marcus_shredda2017-02-12 21:54:52
PHP
marcus_shredda, 2017-02-12 21:54:52

How to insert a video with autoplay in the background on the site, but not through youtube?

Very stupid video in the first block of the landing. They inserted it through YouTube and shifted the centering - so that the YouTube icon would not fit. Compress the quality - and it turns out shit. Can't figure out how to embed.
Please tell me a smart solution - like people)
bastardbarbershop.com
To all helpers - I will send a postcard)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
Janny, 2017-02-12
@Genuas

Isn't it easier to upload the video to the server and use a ready-made library? For example this

R
rPman, 2017-02-12
@rPman

Upload your video as a file to your server and wrap it in a video tag
See video file formats and codecs here:
https://en.wikipedia.org/wiki/HTML5_video
https://developer.mozilla.org/en/docs/Web /HTML/Under...
ps the legality of using this or that codec is still entertainment, but in your case it is most likely theoretical

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question