#BrosS Posted October 18, 2016 Share Posted October 18, 2016 Hi there, well there is guiCreateStaticImage and dxDrawImage and there sounds too well what i want is , is there a client function with a i don't know maybe like dxDrawVideo or GIF i want to use like in login panel a video on the back ground . i know there is html but i want with sounds and thank you Link to comment
Tomas Posted October 18, 2016 Share Posted October 18, 2016 The only way is using HTML. Link to comment
Jaysds1 Posted October 18, 2016 Share Posted October 18, 2016 If I remember right that @Solidsnake14 created an animated working GIF either through a simple script or a resource. Link to comment
Jusonex Posted October 18, 2016 Share Posted October 18, 2016 Using single frames would be very bad in terms of performance. The only performant way is to use CEF. You don't even have to embed it into an HTML page since opening the video link directly works fine too (keep in mind that proprietary codecs like H.264/MP4 are not supported though). Quote i know there is html but i want with sounds What's the problem? Sounds are supported out of the box. 2 Link to comment
#BrosS Posted October 18, 2016 Author Share Posted October 18, 2016 7 minutes ago, Jusonex said: Using single frames would be very bad in terms of performance. The only performant way is to use CEF. You don't even have to embed it into an HTML page since opening the video link directly works fine too (keep in mind that proprietary codecs like H.264/MP4 are not supported though). What's the problem? Sounds are supported out of the box. Ok thanks Link to comment
Dealman Posted October 19, 2016 Share Posted October 19, 2016 On 10/18/2016 at 4:06 PM, Jusonex said: Using single frames would be very bad in terms of performance. The only performant way is to use CEF. You don't even have to embed it into an HTML page since opening the video link directly works fine too (keep in mind that proprietary codecs like H.264/MP4 are not supported though). What's the problem? Sounds are supported out of the box. Has CEF performance been improved any lately? I've been away for a while and only fiddled with the browser a bit shortly after release. As I recall it, trying to watch .gifs was unbearable, it stuttered a lot. I never did try video playback, though. Link to comment
Jusonex Posted October 19, 2016 Share Posted October 19, 2016 Yes, performance has been improved significantly in 1.5.3. See: https://wiki.multitheftauto.com/wiki/Changes_in_1.5.3 Link to comment
Dealman Posted October 19, 2016 Share Posted October 19, 2016 2 minutes ago, Jusonex said: Yes, performance has been improved significantly in 1.5.3. See: https://wiki.multitheftauto.com/wiki/Changes_in_1.5.3 Awesome! Will have to check it out later then, great job and thanks for the time and effort implementing this Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now