How to play video automatically when it comes in window view - Forum | JoomShaper
Solved SP Page Builder

How to play video automatically when it comes in window view

Asked by Paul Trouw 2 years ago Last activity 2 years ago

How can I play a video automatically when it comes in window view if you scroll down?

Accepted answer

Marked as the solution
Pavel
2 years ago · edited

But it seems it is not allowed in pagebuilder.

You should place JS code in custom.js file if you use Helix but not in any Page Builder's addons.

If it does not work, then you are doing something wrong.

Paul Trouw Asked this

Your are an ace. It works.

6 more replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry, right now this feature/functionality is not available.

-Thanks

Paul Trouw Asked this

Thank you for your quick reply. Is there a work around with css coding? Or do you have a recommendation for a plugin or so?

Toufiq Senior Staff

Sorry mate! Couldn't find anything.

Pavel

Hi. CSS will not help.You will need JS

Google subject "autoplay video when in viewport"

Paul Trouw Asked this

Hi,
Sorry one more question. I already tried a JS script. But it seems it is not allowed in pagebuilder. I also tried to include a joomla module with a JS script in pagebuilder but that doesn\t work either.
Is there a workarond?

Toufiq Senior Staff

I tried myself. But, No success. Sorry mate :(

Paul Trouw Asked this

If I would include a different Joomla Video module into a pagebuilder module position, would that work?

Toufiq Senior Staff

Depends on the module script. Cause, the third-party module can conflict with the page builder.

Log in to reply.