Forum

You need to log in to create posts and topics.

Videos

Hi there,

 

a question regarding videos. It seems that the video tag ist not supported or i am doing something wrong. Is it possible to embed a video? Or should i use unity components for it?

 

Thanks

Hey Matthias,

<video> is available but it's restricted to Unity's core support for ogv as it's based on MovieTexture. You can also use URLs to videos in background-image and other CSS image properties too. Alternatively it's totally possible to setup a VideoPlayer targeting a render texture, then display that render texture on the UI via element.image if you want platform dependent video codecs like h.264 🙂

Hi Luke,

 

thanks, i did it with the render texture.

Want the latest updates? Check out the repositories.