Replies: 1 comment
-
Hello. ReactUnity is not an in-game browser. It does not have capability to render websites like browsers do. So There is a video component but it does not work like browsers. It uses Unity's VideoPlayer component. Usage is like:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all thanks, designing the GUI with React is definitely easier than doing it with Unity. I just need help with the two things.
Video
I have now tried everything, but I just get error messages or the element is not displayed.
IFrame
I also need an <Iframe>. Have also done a few tests, but it is not displayed.
I also tried it with this.
Here as an example, one of my attempts.
Video
< video width="750" height="500" controls >
< source src={videosrc} type="video/mp4" />
< /video>
Iframe
< iframe width="420" height="345" src="https://website"></iframe>
Is there a solution or is it currently not possible.
I am currently using Unity 2021.3.1f1 LTS
Beta Was this translation helpful? Give feedback.
All reactions