Troubleshooting //
Cannot Embed a Video into a Listing Grid Using the iFrame Code

Cannot Embed a Video into a Listing Grid Using the iFrame Code

Question

I want to insert embedded code for the video in a post type and show that on a single page. Can you help me to do it right?

Answer

Open the necessary custom post type

Go to JetEngine > Post Types and find the one where you want to embed the video. Click the “Edit” button and add a new Textarea meta field, called “iframe.” Update the post type.

textarea meta field creation

Edit the post itself

Open the post types directory in your WordPress admin panel (in our case, it’s Products). Pick the necessary post, click to edit it, then scroll down the page until you see the iframe meta field. Insert your iframe code into it and update the post.

inserting the iframe code

Edit the single page in Elementor

Open the page to be edited in Elementor and add a Dynamic Field widget to the section where you want the video to appear. It can be a Listing Grid, too. Then, select the corresponding meta field in the Source drop-down. 

dynamic field settings in elementor

Update the page and enjoy the result on the frontend page.

iframe video embed in the front

P. S. Please keep in mind that iframe embeds work equally great with other media formats besides the video.

Was this article helpful?
YesNo
Still need help?
Submit a request