Lesson detail view with Typst HTML rendering and Jellyfin media player #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Add the lesson detail view — when a lesson is clicked from the list, show the full lesson content with embedded media.
Implement:
GET /Plugins/Lessons/Detail?id={lessonId}returns full lesson data including compiled HTML and media itemsAcceptance
Notes
The media card should use Jellyfin's
ApiClientJS to fetch item details (title, thumbnail, duration) by item ID, then triggerappRouter.showItem(itemId)or similar to start playback. Check how other Jellyfin web UI pages trigger playback.The compiled HTML should be sanitized server-side but rendered as-is (no markdown parsing needed — Typst already produces clean HTML).
For the Typst compilation step: call
typst compileas a subprocess from the plugin, or pre-compile and store the HTML in the DB.