Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Lazy loading video

incust priority asked 2 years ago


Is it possible to use lazy loading with video? When i try to do it i saw loading placeholder for some time and next lazy error image


Krzysztof Wilk staff commented 2 years ago

Hi!

Can you give us a code example? Everything seems to work on our side :(


incust priority commented 2 years ago

It is so sad, but I can't create react code snippet on your site :(


incust priority commented 2 years ago

I can't choose version and when I press create chose react and not chose version it is loading infinitly, but no result and snippet is not creating


Krzysztof Wilk staff commented 2 years ago

Hi!

I think you can just create a GitHub repository with a simple CRA project. Can you also check in the console on your page if you have any CORS errors? Maybe the CORS is blocking this URL?

Do examples from our website work for you?


incust priority commented 2 years ago

Hi. I checked console for errors β€” nothing. This video works good when I remove lazy loading. And, you don't have examples with video on your website, so, I can't use your example. Photos work good


Krzysztof Wilk staff commented 2 years ago

Hi!

We have examples with a video element. The last item in the "Basic example" and "Container" is a video tag with a .mp4 file attached as an src attribute. The sample code in the documentation also differs a little bit. Can you check them?

Can you also share your code with me? Just by pasting it here



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.1.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No