12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Apr 4, 2019

Image link to play an inline video in Oxygen

Sridhar Katakam

This members-only tutorial provides the steps to load and auto play a YouTube video inline when an image link is clicked.

We shall position a play button centered on top of a background image and set this up such that when the image is clicked anywhere, the image is removed followed by a loading animation before the video starts to play - using custom jQuery.

In this example, we shall add a Section containing a 2-columns component with a Heading and Text in the left column and the video portion in the right column.

Step 1

In the Oxygen editor, add a Section.

With the Section selected in the Structure panel, add a Columns component and then select 50 50 configuration.

a) Select the left Div and add Heading and Text components and change the text.

b) Select the right Div.

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.