@nuxt/hints Module Breaks HLS Playback in Vidstack Player
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- nuxt, typescript
Research direction
Start with the reported setup in nuxt.config.ts and the Vidstack player configuration using the .m3u8 source. Reproduce the difference with @nuxt/hints enabled and disabled in development and production, then trace the interaction affecting HLS playback. Done means HLS plays while the module remains enabled, without regressing MP4, YouTube, or Vimeo playback.
Written by the indexing model from the issue text.
Description
Summary
Enabling the @nuxt/hints module causes HLS (HTTP Live Streaming) playback to fail silently in Vidstack video players. The player initializes correctly and can play other video formats (MP4, YouTube, Vimeo), but HLS streams (.m3u8 files) do not load or play.
Environment
- Nuxt Version: 4.2.1
- @nuxt/hints Version: 1.0.0-alpha.1
- Vidstack Version: 1.12.13
- hls.js Version: 1.6.14 (used by Vidstack)
- Vue Version: 3.5.24
- Node Version: v22.21.0
- Package Manager: pnpm
- OS: Linux (WSL Ubuntu)
- Browser: (Chrome)
Steps to Reproduce
-
Enable
@nuxt/hintsmodule innuxt.config.ts:modules: [ '@nuxt/hints', // ... other modules ] -
Configure a Vidstack player with an HLS source (
.m3u8file) -
Attempt to play the HLS video
-
Observe that the player initializes but HLS playback fails silently
Expected Behavior
HLS videos should play correctly with @nuxt/hints enabled, just like other video formats (MP4, YouTube, Vimeo).
Actual Behavior
- Player initializes successfully
- Other video formats (MP4, YouTube, Vimeo) work correctly
- HLS videos (
.m3u8) fail to load/play silently - No console errors are displayed
- Player shows loading state but never starts playback
Workaround
Disable the @nuxt/hints module:
modules: [
// '@nuxt/hints', // Disabled - conflicts with HLS playback
// ... other modules
]
Technical Details
Module Order Impact
The position of @nuxt/hints in the modules array does not resolve the issue. Tested positions:
- At the beginning of modules array
- At the end of modules array
- Between other modules
All positions result in the same HLS playback failure.
Configuration
// nuxt.config.ts
export default defineNuxtConfig({
modules: [
'@nuxt/hints', // When enabled, breaks HLS
// ... other modules
],
vue: {
compilerOptions: {
isCustomElement: tag => tag.startsWith('media-'),
},
},
vite: {
plugins: [
vidstack({ include: /components\/blocks\/(Player|Carousel)\.vue/ }),
],
},
})
Player Configuration
<media-player
:src="/videos/example.m3u8"
type="application/x-mpegURL"
>
<media-provider>
<video />
</media-provider>
<media-video-layout />
</media-player>
Additional Context
- The issue is reproducible consistently
- No console errors or warnings appear
- The problem occurs in both development and production builds
- Module order does not affect the outcome
- Disabling
@nuxt/hintsimmediately resolves the issue
- Dominant language
- TypeScript
- Stars
- 347
- Forks
- 13
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nuxt/hints
-
need reproduction
Difficulty 4/5 3-5 days Newbie friendliness 30/100
nuxt/hints#277 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
-
Make hydration diff more preciseMay be free again @huang-julien claimed this 228 days ago, and no pull request is open. Open
nuxt/hints#257 · 1 comment · 2 reactions · 1 assignee ·
Maintainers usually reply within 1 day
-
Assets Hints for improved performanceMay be free again @Baroshem claimed this 265 days ago, and no pull request is open. Open
nuxt/hints#199 · 3 comments · 2 reactions · 1 assignee ·
Maintainers usually reply within 1 day
-
detect and recommend static/prerenderingPossibly taken @huang-julien claimed this 288 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
nuxt/hints#80 · 6 comments · 7 reactions ·
Maintainers usually reply within 1 day
-
enhancement pending
Difficulty 3/5 1-2 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
auth: agent-bearer --manager-call is told to use the MCP instance argument on an ambiguous managerOpen
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
bug module: playback
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chthollyphile/folia-major#739 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#773 · 2 comments ·
Maintainers usually reply within 1 day