Fix duplicate video embed when youtube_url is empty string

- Add .trim() checks to all video source conditions
- Prevents rendering empty youtube_url as valid video
- Fixes double embed card display issue
- Update sidebar icon check to use optional chaining with trim

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
dwindown
2025-12-30 21:11:35 +07:00
parent 94aca1edec
commit a9ad84eb23
6 changed files with 34797 additions and 7 deletions

File diff suppressed because one or more lines are too long