MRmihailZH Posted June 20, 2020 Share Posted June 20, 2020 Hello, I have a problem. How do I upload the URL of a local html file? I tried typing http://mta/local/html.html but it doesn't load anything. Other links, but already on the Internet everything loads normally. Link to comment
Addlibs Posted June 20, 2020 Share Posted June 20, 2020 When creating a browser you need to specify 'true' for the isLocal parameter to be able to load local files. Link to comment
MRmihailZH Posted June 20, 2020 Author Share Posted June 20, 2020 26 minutes ago, Addlibs said: When creating a browser you need to specify 'true' for the isLocal parameter to be able to load local files. Yes, I know. I have true installed, but it still doesn't work. Link to comment
N3xT Posted June 21, 2020 Share Posted June 21, 2020 Check your debug (debugscript 3) for errors, also make sure you added the file into your meta and you're using the correct path Link to comment
MRmihailZH Posted June 21, 2020 Author Share Posted June 21, 2020 3 hours ago, N3xT said: Check your debug (debugscript 3) for errors, also make sure you added the file into your meta and you're using the correct path There are no errors in debugging. Added to the meta file. If you enter the following in a normal browser http://127.0.0.1:22005/resource/html.html then the file opens Link to comment
Moderators IIYAMA Posted June 21, 2020 Moderators Share Posted June 21, 2020 15 hours ago, MRmihailZH said: Yes, I know. I have true installed, but it still doesn't work. Did you add the download able assets(+ html) in to the meta.xml? (And check if those files are actually downloaded in the client folder) https://wiki.multitheftauto.com/wiki/CEF_Tutorial 11 minutes ago, MRmihailZH said: There are no errors in debugging. Added to the meta file. If you enter the following in a normal browser http://127.0.0.1:22005/resource/html.html then the file opens That is afaik serving files from serverside. 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