Support » Fixing WordPress » Autoplay and loop video

  • Hello everyone,
    I need your help about video with autoplay and loop. In the wordpress website, I add a bloc media and text and i load the video… I tried to add autoplay and loop directly in the html code, hoewever that doesn’t work. For information, i used Storefront theme and Gutenberg editor. Anyone know what can i do?

    HTML code with « video autoplay loop” that i added before scr that I added:

    <!-- wp:media-text {"mediaId":3893,"mediaLink":"XXX/accueil-location-de-vetements-bebe/sans-titre-1/","mediaType":"video","mediaWidth":35,"mediaSizeSlug":"full","verticalAlignment":"center","className":"valeur"} -->
    <div class="wp-block-media-text alignwide is-stacked-on-mobile is-vertically-aligned-center valeur" style="grid-template-columns:35% auto"><figure class="wp-block-media-text__media"><<strong>video autoplay loop</strong> src="xxx/wp-content/uploads/2022/10/Sans-titre-1.mp4"></video></figure><div class="wp-block-media-text__content"><!-- wp:heading {"textAlign":"center","level":3} -->
    <h3 class="has-text-align-center" id="stop-au-gaspillage"></h3>
    <!-- /wp:heading -->

    Thank you a lot for the help 😀

    • This topic was modified 1 year, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Autoplay and loop video’ is closed to new replies.