> ## Documentation Index
> Fetch the complete documentation index at: https://docs.play.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Web Embed Examples

> Examples of AI agent web embeddings and implementations

## Form filling

Assists a user in filling out a form. Showcases the ability to pass a custom prompt to the web embed from javascript.

[Live example](https://play.ai/embed/demo/form-filling)

[Code](https://github.com/playht/web-embed-examples/blob/main/form-filling/nextjs/app/page.tsx)

<Frame>
  <img src="https://mintcdn.com/playhtinc/oLfqv-LO9FzqCeTi/media/web-embed-examples/form-filling.png?fit=max&auto=format&n=oLfqv-LO9FzqCeTi&q=85&s=c17d891690943d0bb2b643408534930b" alt="Form Filling Demo" width="1440" height="1440" data-path="media/web-embed-examples/form-filling.png" />
</Frame>

## Minimize web embed

Showcases the ability to minimize the web embed from javascript.

[Live example](https://play.ai/embed/demo/minimize)

[Code](https://github.com/playht/web-embed-examples/blob/main/minimize-embed/nextjs/app/page.tsx)

<Frame>
  <img src="https://mintcdn.com/playhtinc/oLfqv-LO9FzqCeTi/media/web-embed-examples/minimize-embed.png?fit=max&auto=format&n=oLfqv-LO9FzqCeTi&q=85&s=f542c4d5a9b19c7e382a2877129a183f" alt="Minimize Web Embed Demo" width="1080" height="1080" data-path="media/web-embed-examples/minimize-embed.png" />
</Frame>

## Music mood

Plays music based on the user's mood.

[Live example](https://play.ai/embed/demo/music-mood)

<Frame>
  <img src="https://mintcdn.com/playhtinc/oLfqv-LO9FzqCeTi/media/web-embed-examples/music-mood.jpeg?fit=max&auto=format&n=oLfqv-LO9FzqCeTi&q=85&s=8727c8715c522b576096bfeaead24524" alt="Music Mood Demo" width="1872" height="1872" data-path="media/web-embed-examples/music-mood.jpeg" />
</Frame>

## Color math

Game where the user has to guess the color that is created by mixing two other colors.

[Live example](https://play.ai/embed/demo/color-math)

## Color painter

Changes the background color of the webpage based on the user's description.

[Live example](https://play.ai/embed/demo/color-painter)
