Does UI Toolkit support videos, or is it only images?
There is no built-in support for video element right now. You will have to manually update a RenderTexture with the video (using VideoPlayer.targetTexture) and use that RenderTexture in the VisualElement.
Of course, you will need to control the VideoPlayer yourself in order to start the video.
Is the video source a webcam? There would be some extra steps involved as you can’t use the WebCamTexture drectly.
1 Like
I am not currently using any video elements, but just wondering if they existed as I am building a framework and wanted to include them. Any ETA for video elements?
No short term ETA.
1 Like