Find a file
Russell Ballestrini ade7f4a35e feat: replace TTS modal audio embed with custom player controls
## Enhanced TTS Audio Experience:
- **Remove browser default audio controls** (was showing embed instead of custom player)
- **Add custom play/pause button** with emoji icons (⏸️ Pause / ▶️ Play / ▶️ Replay)
- **Add interactive progress bar** with click-to-seek functionality
- **Add time display** showing current time / total duration (e.g., "1:23 / 3:45")
- **Prominent download button** (💾 Download) for saving MP3 files
- **Auto-play with fallback** - attempts auto-play, gracefully handles browser restrictions

## UI Improvements:
- **Clean layout** with flexbox controls container
- **Visual progress indicator** with smooth transitions
- **Responsive design** supporting both custom and default styling modes
- **Proper spacing and styling** for professional appearance

## Functionality:
- **Click progress bar to seek** to any position in audio
- **Real-time progress updates** during playback
- **Proper state management** (play/pause/ended states)
- **Error handling** for audio playback issues
- **Accessibility** with proper button labels and time displays

## Technical Details:
- Hidden audio element (no browser controls)
- Custom event listeners for timeupdate, ended, error events
- Proper time formatting (MM:SS format)
- Progress calculation with percentage-based width updates
- Browser auto-play policy compliance with user interaction fallback

**Result: Professional audio player experience instead of basic browser embed\!** 🎵
2025-07-03 19:01:37 -04:00
css fix(translation): correct syntax and logic in translation modal 2025-07-01 18:23:02 -04:00
src feat: replace TTS modal audio embed with custom player controls 2025-07-03 19:01:37 -04:00
tests feat: add comprehensive Jest test suite for all 3 modals with complete coverage 2025-07-03 18:55:49 -04:00
.gitignore f 2024-10-21 11:22:44 +00:00
.gitlab-ci.yml Update .gitlab-ci.yml file 2025-01-25 00:47:41 +00:00
biome.json feat(ui): add comprehensive language localization system 2025-07-03 11:09:10 -04:00
CLAUDE.md docs: update CLAUDE.md with Makefile and CI pipeline information 2025-07-03 18:22:43 -04:00
demo.html feat(translation): add smart translate dropdown with native language names 2025-07-02 18:43:35 -04:00
favicon.ico some theme 2024-10-15 21:46:57 +00:00
index.html feat(translation): add smart translate dropdown with native language names 2025-07-02 18:43:35 -04:00
integration_tests.js feat: add comprehensive session error regression tests to prevent modal failures 2025-07-03 18:32:03 -04:00
jest.config.js fix: add fallback handling for window modal functions in embed modal 2025-07-03 18:51:48 -04:00
journal.rst docs: document translation system and update ui-translations module 2025-07-03 12:51:52 -04:00
Makefile feat: add comprehensive Jest test suite for all 3 modals with complete coverage 2025-07-03 18:55:49 -04:00
package.json feat: add comprehensive Jest test suite for all 3 modals with complete coverage 2025-07-03 18:55:49 -04:00
simple_tests.js feat: add translation verification to CI pipeline using verify-translations.js 2025-07-03 17:27:06 -04:00
uncloseai.js feat(ui): add comprehensive language localization system 2025-07-03 11:09:10 -04:00
uncloseai.js.orig new file: src/chat.js 2025-06-30 20:28:42 -04:00
validate_exports.js fix: improve export validation to handle destructured exports 2025-07-03 18:07:52 -04:00