Hey all. I’m embedding the default Wordpress media player in my Showit site. The player is embedded in my Showit page using an iFrame.
I want it to autoplay, loop and strip all the controls. No sound is needed.
Any clues?
I’m very new to CSS and still struggling with targeting elements.
This is the page with the embedded WP video player: https://photoform.com.au/free-light-guide-landing-page-1
Hi @miguelgiacobbe, thank you to share the info! There is absolutely no way to autoplay the video with the sound? After as a user, I think it is better this way
Autoplay with sound is allowed if: User has interacted with the domain (click, tap, etc.). On desktop, the user’s Media Engagement Index threshold has been crossed, meaning the user has previously played video with sound. The user has added the site to their home screen on mobile or installed the PWA on desktop.
you don’t need an iFrame to do it responsive,
are you using wordpress?
becuase if you are using it maybe can be more difficult to do it,
try to follow this steps:
Add a class atttribute to the video tag, like this: class="video-responsive"
Next go to dashboard → Appearence → Costumize → Addittional Css and add something like this:
.video-responsive{
width: 100%;
}
or you can also go to the code editor and add a<style></style> tag
and write your css there…
(All this if you are using wordpress)