View Jaralax- Video instead of Image


Topic: View Jaralax- Video instead of Image

Zhao pro asked 6 years ago

I would like to change from image to video to view jarallax. But it has a style where background-image is an url and I tried to change the url with a video but it didn't work. Curently I have:
<div class="view jarallax" data-jarallax='{"speed": 0.2}' style="background-image: url('https://image.com/example.jpg'); background-repeat: no-repeat; background-size: cover; background-position: center center;">

Piotr Glejzer staff answered 6 years ago

Hi, can you use our snippets to show your problem with 'alive' example? I think a reason why is not working is fact that jarallax need 'data-jaralallax-video' to implement video. Best, Piotr
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.10
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: No
Tags