Page 1 of 1

Autoplay unblocked with protected Page

Posted: Mon Dec 07, 2020 1:58 am
by syd
Hi,

i use the Media Elements extension and had a page protected with Single Page Protection. The strange thing is, when the page is protected (using the JacaScript method) suddenly the autoplay works. I know that browsers block autoplay these days, but how is it possible that the Page Protection enables this? And is it possible (i know its a common question) to overcome the autoplay block with the tools of the wysiwyg web builder?

Thx, syd

Re: Autoplay unblocked with protected Page

Posted: Mon Dec 07, 2020 7:03 am
by Pablo
I do not have a solid answer for this, but it may be because the page is dynamically build using JavaScript. So, the browser will skip the autoplay block.
I am not sure if it is a good idea to build all pages this way (to prevent the auto play block) because dynamically build pages using JavaScript may have a huge impact of the page loading time.
It will also affect SEO, because then the page content cannot be read by search robots.

Re: Autoplay unblocked with protected Page

Posted: Mon Dec 07, 2020 4:22 pm
by syd
Thx Pablo,

that might be also the reason why autoplay works in a Lighbox.

Since I don't want to protect the page in the final page (it's just for preview reasons for the team), do you know how to trigger the same behavior within WWYSIWIG-Web Builder? I don't really care for SEO and the page itself is quiet lightweight, so, how can I load a Page using JS (without the Page Protection Insert)?

Thx again, syd.

Re: Autoplay unblocked with protected Page

Posted: Mon Dec 07, 2020 4:38 pm
by Pablo
You may be able to able to start auto play with a timer and events.
But browsers may also block this, if not now then maybe in the future.