Nesoi
llms.txt

Sharing Your Video

Share your interactive videos via link or embed

Once you've created an interactive video, you can share it with your audience. Nesoi offers two main sharing options.

The Share dialog with link and embed options
The Share dialog with link and embed options

Every video gets a unique URL that you can share directly.

How to Get It

  1. Open your video to edit
  2. Click the Share button
  3. Copy the direct link

Embedding on Websites

Embed your video directly into your website or application.

How to Get Embed Code

  1. Open your video
  2. Click the Share button
  3. Copy the embed code

Embed Code Format

<iframe
  src="https://app.nesoi.ai/videos/your-video-id"
  width="100%"
  height="600"
  frameborder="0"
  allow="fullscreen"
></iframe>

Widget Embed (Floating Button)

Instead of embedding the video directly on the page, you can add a floating button that opens the video in an overlay when clicked. This is useful when you don't want the video to take up space on your page.

How to Get Widget Code

  1. Open your video
  2. Click the Share button
  3. Switch to the Widget tab
  4. Click Copy to copy the script code
  5. Optionally click Demo to preview it live on JSFiddle

Paste the copied <script> tag into your website's HTML. A floating button will appear in the bottom-right corner of the page. When clicked, it opens a fullscreen overlay with your interactive video.

Customizing the Widget

The widget script includes a CONFIG object at the top that you can edit to customize the behavior and appearance:

OptionDefaultDescription
buttonText"Watch Video"Text displayed on the floating button
buttonHtml""Custom HTML for the button (overrides buttonText if set — use for icons or images)
autoPlaytrueWhether the video auto-plays when the overlay opens
mutedfalseWhether the video starts muted
closeOnOverlayClicktrueWhether clicking the dark backdrop closes the overlay
triggerStyleCSS properties for the floating button (position, colors, size, etc.)
overlayStyleCSS properties for the overlay backdrop

Example: Custom Button Text and Position

To change the button text and move it to the bottom-left corner, edit the CONFIG in the script:

var CONFIG = {
  // ...
  buttonText: "Start Training",
  triggerStyle: {
    position: "fixed",
    bottom: "24px",
    left: "24px",   // changed from right to left
    // ... other styles
  },
};