This offers two advantages: 1. Then you could create your project and create API and modify it according to your needs. Solved! This function loads and plays the specified video. Youtube Embed Generator Easily embed your Youtube videos on your website. In order to lazy load all of your embedded YouTube videos – Consider WP YouTube Lyte. To play your video on a web page, do the following: Upload the video to YouTube; Take a note of the video id; Define an