Cassè Posted July 6, 2020 Share Posted July 6, 2020 Can i play a video without loading url to browser? Link to comment
Moderators IIYAMA Posted July 6, 2020 Moderators Share Posted July 6, 2020 7 minutes ago, Cassè said: Can i play a video without loading url to browser? Yes possible, by feeding it the whole video in base64. https://base64.guru/converter/encode/video Not recommended for large video's. Link to comment
Cassè Posted July 6, 2020 Author Share Posted July 6, 2020 8 minutes ago, IIYAMA said: Yes possible, by feeding it the whole video in base64. https://base64.guru/converter/encode/video Not recommended for large video's. What am i supposed to do with this link? What am i gonna do after convert the video with base64? I know i'm asking a lot of questions, but i really don't know about playing videos. Link to comment
Moderators IIYAMA Posted July 6, 2020 Moderators Share Posted July 6, 2020 1 minute ago, Cassè said: What am i supposed to do with this link? What am i gonna do after convert the video with base64? You put it inside of html file. (or inject it with Javascript later on) You read this (for creating a browser): https://wiki.multitheftauto.com/wiki/CreateBrowser You read this (for local hosting): https://wiki.multitheftauto.com/wiki/Local_Scheme_Handler <file /> A client-side file. < < < all website files You read this (for intern server hosting): https://wiki.multitheftauto.com/wiki/Resource_Web_Access Feel free to ask questions about the information I gave you. Link to comment
Cassè Posted July 6, 2020 Author Share Posted July 6, 2020 (edited) 22 minutes ago, IIYAMA said: You put it inside of html file. (or inject it with Javascript later on) You read this (for creating a browser): https://wiki.multitheftauto.com/wiki/CreateBrowser You read this (for local hosting): https://wiki.multitheftauto.com/wiki/Local_Scheme_Handler <file /> A client-side file. < < < all website files You read this (for intern server hosting): https://wiki.multitheftauto.com/wiki/Resource_Web_Access Feel free to ask questions about the information I gave you. There is an example code? Thx for helping btw. Edited July 6, 2020 by Cassè Link to comment
Moderators IIYAMA Posted July 6, 2020 Moderators Share Posted July 6, 2020 43 minutes ago, Cassè said: There is an example code? Thx for helping btw. Those can be found on the community. Possible search terms (1 at the time): browser, web, CEF Link to comment
Scripting Moderators thisdp Posted July 9, 2020 Scripting Moderators Share Posted July 9, 2020 For local video. if you don't want to know how does that works, just aiming at how to do that as soon as possible. You can consider DGS (https://wiki.multitheftauto.com/wiki/Resource:Dgs) And use the following function. https://wiki.multitheftauto.com/wiki/DgsCreateMediaBrowser Note: only WEBM is supported currently. 1 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