Page 1 of 1

Audio with switch on and off

Posted: Mon Apr 26, 2021 10:23 am
by makros
Hi ,

I would like to know if there is a way to add audio with ON and OFF switch when clicking on it for my video in the background.

I assume I can do it by event maker but not sure if that works or not.

Thanks in advance.

Re: Audio with switch on and off

Posted: Mon Apr 26, 2021 11:31 am
by Pablo

Re: Audio with switch on and off

Posted: Mon Apr 26, 2021 11:53 am
by makros
Thanks pablo for reply.

Sorry I am not sure if I can ask the below here :

I have the youtube in a layer and the setting for the autoplay is checked for youtube but when I load the page the video is not autoplay.

How the html5 video height can set up in builder?

Thanks again

Re: Audio with switch on and off

Posted: Mon Apr 26, 2021 1:02 pm
by Pablo
Most browsers no longer support auto play when the video has audio.
This is unrelated to WWB.

Re: Audio with switch on and off

Posted: Mon Apr 26, 2021 1:14 pm
by makros
Thanks pablo

I will then need to take out the audio from the video to get this to work for me.

But I can not see how the width and height can be set up as the video takes the entire screen.

I hope can someone have some outline guide for this.

Thanks

Re: Audio with switch on and off

Posted: Mon Apr 26, 2021 2:59 pm
by Pablo
How did you add the video?
Is it part of a layout grid. In that case, it will be full width of the column.
Otherwise, you can set the size of the video like any other object.

Re: Audio with switch on and off

Posted: Mon Apr 26, 2021 3:53 pm
by makros
I have put it into a layer.

I tried the sticky layer and other options layer mode but no success nor in the youtube property.

Re: Audio with switch on and off

Posted: Mon Apr 26, 2021 5:17 pm
by Pablo
Why can't you change the size?
What exactly happens when you try it?

Re: Audio with switch on and off

Posted: Mon Apr 26, 2021 11:30 pm
by makros
Sorry pablo for my mistake.

I meant the html5 video.

There is no way to set up the video displaying on the background for the size I want.

It displaying the entire screen.

Re: Audio with switch on and off

Posted: Tue Apr 27, 2021 6:05 am
by Pablo
You can give the video any size you want.
Maybe you have enabled 'fill entire browser window'?

Re: Audio with switch on and off

Posted: Wed Apr 28, 2021 3:01 am
by makros
Yes I have set up "Fill the entire browser window".

But If I do not select it then how it will fill the full width of the screen with 500px in height?

when deselecting that option it will not work as the video will be too small like 100px.

I have put the html5 into a layer.

any chance for this?

Re: Audio with switch on and off

Posted: Wed Apr 28, 2021 5:39 am
by Pablo
But If I do not select it then how it will fill the full width of the screen with 500px in height?
In that case, you can use a layout grid.

Re: Audio with switch on and off

Posted: Wed Apr 28, 2021 11:00 am
by makros
The layout grid takes the entire column.
Thanks by the way.

Re: Audio with switch on and off

Posted: Wed Apr 28, 2021 11:11 am
by Pablo
Correct. That is how flexible layouts work.