Conditionally enable autoplay when using oEmbed in a custom widget

Conditionally enable autoplay when using oEmbed in a custom widget