-
Notifications
You must be signed in to change notification settings - Fork 3
feat: PE-964: [dev-cookbook] Add indexeddb example #87
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
- Add example for showcasing how to use indexedDB to cache videos and playback in a loop
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 new IndexedDB caching example to the dev cookbook that demonstrates how to cache video content for offline playback in BrightSign HTML5 applications. The example showcases intelligent background caching and automatic playlist looping.
- Implements IndexedDB-based video caching with background downloading
- Provides a complete BrightSign configuration with HTML5 video player
- Includes comprehensive documentation and configuration options
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| examples/indexeddb-caching-example/index.html | Main HTML application implementing video player with IndexedDB caching logic |
| examples/indexeddb-caching-example/autorun.brs | BrightSign autorun script configuration for launching the HTML application |
| examples/indexeddb-caching-example/README.md | Documentation explaining usage, configuration, and troubleshooting |
jdmedlin1
left a comment
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.
LGTM after typos are fixed
lherlein
left a comment
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.
Is there any reason to have this as a roHtmlWidget node example and not as a roNodeJS node example? I feel like database software would run in the background more generally. The code looks great to me, though
I was having an issue accessing the Another point: From the Jira ticket information, it looks like customers do not know about the |
📝 Description
Add example for showcasing how to use indexedDB to cache videos and playback in a loop
JIRA Issue: PE-964
✔️ Dev Complete Checklist