-
-
Notifications
You must be signed in to change notification settings - Fork 12
Implement read-along directive with audio synchronization and TTS support #1030
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: mikebarkmin <[email protected]>
… issues Co-authored-by: mikebarkmin <[email protected]>
|
@copilot add the element to the documentation in website. |
Co-authored-by: mikebarkmin <[email protected]>
Added documentation for the read-along directive in commit 9c6a318. Documentation is now available in both English and German:
The page includes:
|
|
@copilot the text moves since you are using bold to highlight the current word. Use another highlighting style, which does not shift the text. |
…ighting Co-authored-by: mikebarkmin <[email protected]>
Fixed the text shifting issue in commit f9617b4. Changes made:
The text now remains stable during playback without any shifting. |
|
@copilot with auto generated I meant use the tts of the browser. therefore add a mode attribute. mode tts or mode manual. |
Co-authored-by: mikebarkmin <[email protected]>
Added TTS mode in commit 3b9f2b7. The directive now supports two modes: TTS Mode (
Manual Mode (
Usage examples: :::readalong{mode="tts"}
Text-to-speech will read this automatically.
:::
:::readalong{src="/audio.mp3" autoGenerate="true"}
Uses audio file with auto-generated timestamps.
::: |



Implementing read-along directive for Hyperbook - COMPLETE ✅
All Requirements Implemented:
Implementation Details:
Mode Support:
The directive now supports two modes via the
modeattribute:TTS Mode (
mode="tts"):speedparameterManual Mode (
mode="manual", default):Usage Examples:
Highlighting Fix:
font-weight: 600that was causing text to shifttransform: scale()animation that affected layoutDocumentation:
/website/en/book/elements/readalong.md/website/de/book/elements/readalong.mdKey Features:
Code Quality:
Verification:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.