W
W
Wasya UK2018-02-15 13:11:14
css
Wasya UK, 2018-02-15 13:11:14

How to run video in slick-carousel?

When I connect slick, the video background is paused, what is the reason for this. I can't turn it back on . Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Knyazev, 2018-02-17
@dmc1989

Refer to the video like this:

var video = document.getElementById("bgvideo"); 
video.play()

or change what you wrote to the following construction: And don't forget to add other formats to src as well, because mp4 is not enough. Need more ogg, webM

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question