please, can you help me
Hi, welcome to the forum.
Could you please provide some more context. What I see is the Panel backend. Is that from the Builder plugin?
What is in your builder snippet? Is sound enabled in your browser?
It could be the autoplay flag on the video - most browsers will mute the sound on autoplaying video, leaving it for the user to unmute it.
thank you for the quick reply. I tried it also without autoplay but there is no sound too. Where can I find the plugin to set the autoplay?
In the URL you have entered, change the autoplay=1
to autoplay=0
. In programming, 1 means true/yes and 0 means false/no.
You can also do it in the settings when you chose embed/share from Youtube or Vimeo, which will set the URL correctly for you.
Also check your browser settings.
Which browser on what type of OS are you using?
Do you have sound when playing a video on YouTube?
thanks. The parameters you send have doesn´t solve my problem. It seems to have no influence.
I use Firefox on WinOS and when I play the video on youTube or Vimeo there is a sound.
Browser settings are allows sound and video. Thank you for your help!
Could you post the builder snippet you use to display this video url in the frontend for testing?
mediavideosource: url
mediavideo: [ ]
mediavideourl: https://player.vimeo.com/video/468058615
title: “”
mediavideoheight: viewport
_key: media-video
_uid: media-video_1609775000068_19313
mediavideosource: url
mediavideo: [ ]
mediavideourl: >
https://player.vimeo.com/video/468058615?autoplay=0
title: “”
mediavideoheight: viewport
_key: media-video
_uid: media-video_1609775000068_19313
That is what you have in the content file, but I meant the code snippet that outputs this content?
<?php if ($iframe): ?> <figure<?= attr(['class' => $attrs->css()->value()], ' ') ?>> <iframe src="<?= $attrs->src() ?>" width=“1920” height=“1080” frameborder=“0” allowfullscreen uk-responsive uk-video=“autoplay: inview”> <?php if ($attrs->caption()->isNotEmpty()): ?> <?= $attrs->caption() ?> <?php endif ?> <?php endif ?>
And there’s also no muted symbol in the browser tab by any chance?
Have you tried a different browser?
Also, check what happens when you remove this attribute.
Hi, @hschwinge!
I see you are using my Zero One theme. Please, for any issues it is best to contact me directly.
That block you are using is video background, it doesn’t have sound.
For a video with sound you must use Grid or Editor Block.