Answer the question
In order to leave comments, you need to log in
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
Isn't it easier to upload the video to the server and use a ready-made library? For example this
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 questionAsk a Question
731 491 924 answers to any question