-
Notifications
You must be signed in to change notification settings - Fork 185
added video trailer popup model #336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a live demo section to the video trailer popup project documentation, providing users with an interactive example of the functionality.
- Added a live CodeSandbox demo embedded in an iframe
- Positioned the demo with center alignment styling
- Included comprehensive sandbox permissions for the iframe
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
|
||
| ## Live Demo | ||
| <div align="center"> | ||
| <iframe src="https://codesandbox.io/embed/zsvp9c?view=preview" |
Copilot
AI
Oct 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CodeSandbox URL appears to be using a shortened format. Consider using the full embed URL format for better transparency and security verification.
| <iframe src="https://codesandbox.io/embed/zsvp9c?view=preview" | |
| <iframe src="https://codesandbox.io/embed/username/video-trailer-popup?view=preview" |
| <iframe src="https://codesandbox.io/embed/zsvp9c?view=preview" | ||
| style="width:100%; height: 500px; border:0; border-radius: 4px; overflow:hidden;" | ||
| title="video popup" | ||
| allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking" |
Copilot
AI
Oct 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The iframe permissions are overly broad for a video trailer popup demo. Consider restricting to only necessary permissions like 'encrypted-media' and removing sensitive permissions like 'camera', 'microphone', 'geolocation', and 'payment'.
| allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking" | |
| allow="encrypted-media" |
Demo application of video trailer popup example