v2.0 API is now live

Seamless Video Integration
Built for Developers

Embed high-quality video content instantly with our responsive, lightweight iframe API. Perfect auto-resizing out of the box with zero layout shifts.

<!-- 1. Include the iframe resizer library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.9/iframeResizer.min.js"></script>

<!-- 2. Embed the responsive video player -->
<iframe 
    id="widgetPlusApi"
    src="https://api.ytzyar.cc/load?v=YOUTUBE_VIDEO_ID" 
    height="800px" 
    width="100%" 
    scrolling="no" 
    frameborder="0" 
    marginwidth="0" 
    marginheight="0" 
    allowtransparency="yes">
</iframe>

<!-- 3. Initialize the resizer -->
<script>
    iFrameResize({
        log: false
    }, '#widgetPlusApi')
</script>

Why use YTzyar API?

Everything you need to deliver world-class video experiences on your platform without the hassle of building custom players.

Auto-Resizing

Powered by iframe-resizer, our embed automatically adjusts to fit the content perfectly. No more ugly scrollbars or cut-off videos.

Lightning Fast

Highly optimized delivery network ensures your video player loads instantly anywhere in the world.

Simple Integration

Just copy and paste the snippet. Swap out the `v=videoId` parameter, and you're ready to go live in minutes.