You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use Vidstack player in my Nuxt.js project, it's work well on local machine but when I deploy to deno, I got this:
The deployment failed: UNCAUGHT_EXCEPTION
TypeError: Cannot read properties of undefined (reading 'orientation')
at canRotateScreen (file:///src/server/index.ts:135354:37)
at canOrientScreen (file:///src/server/index.ts:135351:10)
at file:///src/server/index.ts:135832:20
and when I deploy to Vercel, it stuck at home page.
I tried import 'vidstack/bundle'; but it doesn't work
This is very likely due to the include filter not matching your player component file path. You can either remove it or move the file to the correct path (default is in a player/ directory).
import{viteasvidstack}from'vidstack/plugins';exportdefaultdefineNuxtConfig({vite: {plugins: [// Include filter to only check specific files for components and styles.vidstack({include: /player\//}),],},});
Current Behavior:
I tried to use Vidstack player in my Nuxt.js project, it's work well on local machine but when I deploy to deno, I got this:
and when I deploy to Vercel, it stuck at home page.
Steps To Reproduce:
import 'vidstack/bundle';
but it doesn't work):Environment:
The text was updated successfully, but these errors were encountered: