Unity-Technologies / furioos-sdk-js

Furioos SDK for JavaScript
30 stars 14 forks source link

please add option that we can set html backgroud color #14

Open flufy3d opened 4 years ago

flufy3d commented 4 years ago

please add an option that we can set the div id="player-layout" backgroud color

then we can uniform furioos to our own website

flufy3d commented 4 years ago

image

DonJGo commented 3 years ago

Hello there,

A new method has been added in the last release : setThumbnailUrl(url) This wont let you use css but it will help you to customize dynamically your UI.

I don't see the value of setting the background color as each application has it own thumbnail. Could you detail what you have in mind with this option ?

To me, as you use the SDK you are free to do what you want on your JS side.

Regards.

flufy3d commented 3 years ago

image

flufy3d commented 3 years ago

like this the white part is unity . and we have a feature that can switch the background color. to uniform the unity and webpage we need this.

since the the furioos is a frame that alwasy have fixed ratio that we can not perfectly match the page size. so if we can not change the color inside furioos frame then there will be alwasy black box .

thanks