Search Unity

Question Playing Video Inside an Editor Window?

Discussion in 'Editor & General Support' started by ktest112233, Aug 25, 2020.

  1. ktest112233

    ktest112233

    Joined:
    Jan 7, 2019
    Posts:
    37
    Hi, Is there a way to play a video inside an Editor Window?

    I am working on a tool that teaches kids on how to use unity, and a feature for that is to make videos play in an EditorWindow(should work without playmode)

    It can be something similar to how Unity shows a preview of a video in the Import-Settings panel
    https://docs.unity3d.com/Manual/class-VideoClip.html

    There is a VideoPlayer class but I believe that can only be used in PlayMode.

    Any tips or pointers for this would be great. Thank you!
     
    MagicFighter96 likes this.