Autoplay on iOS and iPadOS

I found a solution in simple html to autoplay mp4 file, but how to implement in hype?

If you load code below in html it autoplays in iOS. Can somebody help?

I export OAM widget for Wordpress.

html:

<video playsinline autoplay muted>
    <source src="video.mp4" type="video/mp4">
    Error message.
</video>

It looks like “Muted” is one of the checkbox options in the Element pane for Video elements. Maybe that's what you're looking for. :man_shrugging:t2:

Hi Photics, thanks, yes, I thought in-line and muted would make it work. But no.

When you put code in html, it works.

When you put code in html widget in hype, it gives error…

Warning: Undefined array key 1 in /customers/1/d/c/despin.be/httpd.www/wp-content/plugins/tumult-hype-animations/includes/shortcode.php on line 33 Warning: Undefined array key 1 in /customers/1/d/c/despin.be/httpd.www/wp-content/plugins/tumult-hype-animations/includes/shortcode.php on line 34

I’m unable to reproduce this issue – can you share your Hype doc + oam file with me? I’m not having any issues working with video in OAM widgets

Sidenote: HTML Widgets are an iFrame and not the regular HTML you’d expect. For that edit the inner HTML.

Thanks for the replies! I think I found a solution. I will test it over the weekend and reply here.

It’s with a html widget indeed. I made a typo error first, but it works

1 Like