Hello!
I am currently using PODS to create a CPT for virtual classes with a field for a youtube PLAYLIST.
I know that the regular video element can accept a single video url, but Luis told me that playlists are not supported.
I need to dynamically embed the youtube playlist url, but I have had many problems.
Essentially, I would like to be able to do this:
<iframe width="353" height="198" src="{pods_curso_virtual_video}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
And pass the url into the iframe src="" parameter.
I have tried using Wordpress’ internal embed by simply passing the url, but it outputs a link, not the embed. I tried using the [embed]{pods_curso_virtual_video}[/embed]
shortcodes but this does not work. I tried the iframe and src="{pods_curso_virtual_video}" but this also does not work.
Please, someone help!