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'm looking to integrate your package into my project because it aim to mimick an experience of watching Youtube videos as if it was watched in television.
I'm running local environment with npm run dev, and SvelteKit, and any attempt to playback video (I only tried youtube) fails with Domain youtube.com refused connection attempt (this is my translation, as English is not the language I have my OS in).
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://localhost:5173').
Uncaught TypeError: Cannot read properties of null (reading 'classList')
at HTMLDocument.onDocumentLoad (chrome-error://chromewebdata/:2943:19)
<Player> was created without expected prop 'playIcon'
Uncaught TypeError: Cannot read properties of null (reading 'classList')
at HTMLDocument.onDocumentLoad
i tried to add settings to Player element which I found that might be helpful, but in my case this still doesn't work
<Playerurl={currentVideo}fluid={true}width="100%"height="100%"controls={true}allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"config={{youtube: {playerVars: {origin: "https://www.youtube.com"},},}}/>
``
AfterallIthinkit's more about `react-player` and Youtube itself than your implementation. But You get it working on demo page, so I thought it'sworthaskingheretoo.
The text was updated successfully, but these errors were encountered:
I'm looking to integrate your package into my project because it aim to mimick an experience of watching Youtube videos as if it was watched in television.
I'm running local environment with
npm run dev
, and SvelteKit, and any attempt to playback video (I only tried youtube) fails withDomain youtube.com refused connection attempt
(this is my translation, as English is not the language I have my OS in).i tried to add settings to Player element which I found that might be helpful, but in my case this still doesn't work
The text was updated successfully, but these errors were encountered: