Next.js

How to embed widget on Next.js

Prerequisites

  • Next.js Page or App Router project

Get Your VideoQi Embed Code

  • Sign in to your VideoQi account and pen the Widget you want to embed.
  • Click the Share Button in the top-right corner of the navigation Copy the personalized embed script that appears
Image

App Router: Access Your Nextjs Project

  • Find your layout.jsx/tsx location where you want to embed
  • Add the Script component to your app

View on desktop to see code

Page Router: Access Your Nextjs Project

  • Find your _document.js file
  • Add the Script component to your app

View on desktop to see code

You’re All Set!

Your VideoQi widget is now embedded and ready to use on your Next.js site.