#when making my menu I want to be able to use a video instead of a image

1 messages · Page 1 of 1 (latest)

misty drift
nova sable
#

I would actually advise against doing this

#

A video is a fixed resolution, and so you'll have to make trade-offs for those who are running at a different aspect ratio.
Got a 16:9 video? Great, it'll be cropped for people with 4:3 monitors - and it'll have to be absurdly stretched for those with ultrawide monitors

low dome
#

but it wont even play the video

#

the play button is greyed out

#

and the video dosent play

solid linden
#

Does it have to be a video or can it be an apng or gif?

low dome
solid linden
#

Without getting into C++ there is as far as I know not a well solution to this.

#

One thing that you could do is to load a media player, get a rendertexture and display it in the UI

#

But this would rather be a workaround

low dome
solid linden
#

Well look up how to use a video player, it works for anyone else, so you might have done something wrong

low dome
#

well the thing is every tut shows the video player playing the video

#

it just wont play it

solid linden
#

Have you tried importing a gif

low dome
#

yea I get an error

solid linden
#

activate the plugin

#

Add the plugin to your project

solid linden
low dome
#

image wouldnt go through

#

plugin isnt there

solid linden
#

Lookup how to add a plugin then

low dome
#

i added it tho

solid linden
#

Well apparently not correctly

low dome
#

bro wtf

#

only supports 4.26

low dome
#

any other suggsetion?