S
S
Sergey Lehmann2019-12-26 01:45:34
Slider
Sergey Lehmann, 2019-12-26 01:45:34

Disable background video auto-play in revolution slider mobile?

Guys, how to disable video playback in the mobile version of revolution slider?
or just replace it with a photo
is in Background

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shohruh Shaimardonov, 2019-12-26
@joeberetta

if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
 // удалить тег видео и установить картинку как фон блока
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question