Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question WebGL video CORS issue

Discussion in 'Web' started by unity_7CF275314F4CC5BAD9A1, Aug 10, 2023.

  1. unity_7CF275314F4CC5BAD9A1

    unity_7CF275314F4CC5BAD9A1

    Joined:
    Jun 9, 2023
    Posts:
    5
    I'm facing issue of WebGL video from YouTube & I have restriction of CORS Please provide solution of this?
    upload_2023-8-10_15-40-4.png

    upload_2023-8-10_15-40-47.png

    how to play YouTube video on WebGL & how
     
  2. JanetGilbertPraxis

    JanetGilbertPraxis

    Joined:
    May 6, 2022
    Posts:
    23
    It says the stream type is unsupported not that you have a CORS issue.
     
  3. unity_7CF275314F4CC5BAD9A1

    unity_7CF275314F4CC5BAD9A1

    Joined:
    Jun 9, 2023
    Posts:
    5
    Thanks for your reply, can tell me how reslove this issue this is my
    code upload_2023-8-16_11-45-44.png
     
  4. unity_7CF275314F4CC5BAD9A1

    unity_7CF275314F4CC5BAD9A1

    Joined:
    Jun 9, 2023
    Posts:
    5
    upload_2023-8-16_11-51-20.png
    YouTubeRequest go to her if it successful than run
    it is success fully run unity editor but don't run on Chrome , Mozilla ets
     
    Last edited: Aug 16, 2023