lazy-load-for-videos icon indicating copy to clipboard operation
lazy-load-for-videos copied to clipboard

Not working when embed code is in PHP file

Open cjrobe opened this issue 5 years ago • 1 comments

It's working everywhere else on my site. But I can't get it to function with a video embedded through a PHP template file. I used oembed and the [embed] shortcode, both on the linked official Wordpress Embed page, and either the URL of the YouTube is displayed or nothing at all is displayed.

cjrobe avatar Jul 23 '19 16:07 cjrobe

Same problem here with a custom field inside a loop of videos. Probably the script fires before the loop outside the while (have_posts()) .

ironicmoka avatar Sep 20 '19 16:09 ironicmoka