Hello to anyone who can help me with this problem.
I am adding a field for video with oembed appears in the input but when I am adding the custom field it does not load the field in the selection list.
I am attaching some screenshots of the problem.
Hello @tusaludguia !
I think you should choose this field: https://prnt.sc/yUeTAhw-5Aq9 right?
Save the settings and view the result. It will show only the URL, but you need the video.
A workaround to display the video from Youtube is to copy the embed code from that video: https://prnt.sc/hjLZZVJNIqxZ, add it to an ACF field (text area type) as a value.
Thank you!
Hi I understand what you are saying. What I was trying to explain is that when I add the Video URL field: https://prnt.sc/qKGZ_hB5iT2z when I go to add it to the template it doesn’t appear https://prnt.sc/OyZOYVHQCHSH. I tried to insert it via {cf_tdcf_video_url}, but it still doesn’t call the field to the template.
In the input if it appears in the template it does not load. https://prnt.sc/Qhx2U0xz7kX_
Hello @tusaludguia !
Please note that only some ACF fields are supported: https://forum.tagdiv.com/topic/not-all-acf-custom-fields-showing-in-frontend-submission-form-builder/
I suggest you to set it as I showed you above.
Thank you!
Hello I have a problem I have already solved the embed code.
But now, when I’m reviewing the page, the videos do not load the first time, I have to refresh the site so they can load I attach a video
Hello @tusaludguia !
This seems to be a caching issue. Please try to uninstall the cache plugin and check if the problem is solved.
Thank you!
Hi Bettina thank you very much for your reply.
Sure, I executed the steps you indicated. But they still don’t load on the first tab run.
I attach a video again. Well I noticed that when I remove full screen or deployed the browser console videos load, what I noticed was that the height starts at 0 and makes the videos are hidden or must refresh the tab.
I put the code that is in that part.
<iframe width=”100%” height=”315″ src=”https://www.youtube.com/embed/GIImY1TVTj0?si=yCnIGJ9NgtEA-vot” title=”YouTube video player” frameborder=”0″ allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share” allowfullscreen=”” style=”height: 457.497px;”></iframe>
The style at the end is the one that is causing the problem, but I tried several lines and it still didn’t work.
Thnaks
Hi Bettina thank you very much for your reply.
Sure, I executed the steps you indicated. But they still don’t load on the first tab run.
I attach a video again. Well I noticed that when I remove full screen or deployed the browser console videos load, what I noticed was that the height starts at 0 and makes the videos are hidden or must refresh the tab.
https://app.screencast.com/7cMovEEuBRkmG
I put the code that is in that part.
<iframe width=”100%” height=”315″ src=”https://www.youtube.com/embed/GIImY1TVTj0?si=yCnIGJ9NgtEA-vot” title=”YouTube video player” frameborder=”0″ allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share” allowfullscreen=”” style=”height: 457.497px;”></iframe>
The style at the end is the one that is causing the problem, but I tried several lines and it still didn’t work.
Thnaks
Hello.
Of course, above I told him to use the first solution you gave me.
I was asking that when my page loads the video comes out with a zero height style OR I have to minimize the browser or refresh so that it can come out I would like to know if there is a way to fix it because this is in automatic that comes out by default.
Hello,
To resolve the problem with the height on those videos you can use a custom css like this one:
.tdcpt_doctors-template-default .tdb_single_custom_field iframe{
height: 315px!important;
}
The code should be set in the theme panel > custom code> custom css or on the tdcpt_doctor cloud template in a css row.
I hope this will help you!