Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

YouTube Video Embeds in Next.js with WordPress Headless CMS, API limitations

$
0
0

I am currently working on recreating a classic WordPress website with a custom frontend using Next.js, while keeping WordPress as a headless CMS. The existing WordPress site contains a significant amount of data, including posts with video content. The videos in the posts were directly linked from YouTube using URLs.

Upon migrating the WordPress data to my local WordPress instance and fetching it with the WordPress REST API in my Next.js app, I encountered an issue with video content. Instead of direct YouTube video URLs, the posts contain short codes like [presto_player id=8264].

owners of the platform have a youtube channel from where they upload videos to posts,all posts and video titles match, so i was trying to use youtube API, fetch videos and connect to relevant posts, but due to quota limitations, i don't know how to fetch all video and have access all the time.

I am seeking solutions on how to efficiently handle this situation, please, any kind of guidance will be super helpful, thanks


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>