Jump to content

Search the Community

Showing results for tags 'browser'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 18 results

  1. I created a youtube player, and i want to remove the event handler, when the music ends, but i dont know how to get the song length from web browser... anyone can help?
  2. Здравствуйте, я уже Вторые сутки пытаюсь запустить видео через html в мта, используя стандартный браузер, постер на видео получается поставить, т.е путь к постеру видит, а видео не запускается. Всё перепроверил, иначе бы сюда не пришёл. Уже проверил в двух браузерах, изменяя путь на простой, всё работает. В мта - в никакую. Ставил и убирал кодеки. Изменял теги <video>. ничего не помогает. Изменял путь и многое другое, в надежде чуда. Ничего, как понимаешь, не помогло. Код ниже index.html: <!DOCTYPE html> <html> <head> <meta charset="ut
  3. What's up everyone, I know everyone has their own opinion in what browser(s) they like to use so I wanted to know what's your favourite browser. Mine's Brave which uses Chromium as it's base interface.
  4. Hello MTA, sorry if my English is bad I'm looking for a way to load a website in the game, for example a website that I have forums.javaliferoleplay.web.id I have a code like this function register_panel( ) local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 1280, 720 local left = screenWidth/2 - windowWidth/2 local top = screenHeight/2 - windowHeight/2 local window = guiCreateWindow( left, top, windowWidth, windowHeight , "Register", false ) local browser = guiCreateBrowser( 0, 28, windowWidth, windowHeight -60, false, false, false, windo
  5. Загружаю страницу через loadBrowserURL( theGUIBrowser, "http://www.site.ru/test.php") Пробовал и без www, и без http. Страница не загружается, проверял через вывод URL, он почему-то становится пустым. Если вставить к примеру youtube.com всё работает прекрасно, а если вставляю ссылку на другие сайты, url просто очищается. Подскажите пожалуйста как это поправить.
  6. is it possible to open netflix in a browser in mta?
  7. Dear users, I want to let the users to sign-up and sign-in the game when connected to my server. For some reasons (PHP scripts and third-parties API) I can't use simple GUI elements, but a webpage hosted on a LAMP server. Now, I know I need permissions by the player to access that webpage, via requestBrowserDomains function, and I'll say to the players they need to allow those domains to play. I want to load a simple browser when the player joins the game, and to do these steps: load a simple page hosted in the resource which informs the user he needs to allow
  8. Hi everyone, is there possible to use microphone on CEF? I took a look at the wiki, but i didn't find nothing about it.
  9. i rented a server from a hosting, and run online five days, but the server does not appear in the server browser why? With the IP address, i can join to the server
  10. x,y = guiGetScreenSize() image = guiCreateStaticImage( x*0.05, y*0.1, x*0.9, y*0.7, "border.png", false) local browser = guiCreateBrowser(x*0.113, y*0.045, x*0.673, y*0.605, false, false, false, image) guiSetVisible ( image, false ) local theBrowser = guiGetBrowser(browser) addEventHandler("onClientBrowserCreated", theBrowser, function() loadBrowserURL(source, "http://tinyurl.com/lysqs6y") end ) function funct() if guiGetVisible ( image ) == false then showCursor ( true ) guiSetVisible ( image, true) else showCursor ( false) guiSetVisible ( image, false) end end addCo
  11. Hey there, im here cause im having some issues with CEF Browser, the problem is that isn't showing the web-site color and i don't really know why. Original: MTA Browser:
  12. Hi! I don't know, how is it possible: I try it with HTML, the video is in .webm format, and I have a bad fps drop, with link I can't do it, I don't know HTML well. I try it with createBrowser too, but with this, I can't do it that the gui or dxdraw be in front of the video, the browser.
  13. السلام عليكم ورحمة الله وبركاته ي جماعه ابي حل لمشكلتي وهي اني لافتحت المود تجي اللوحة ومايجي المتصفح (Browser) الكود x,y = guiGetScreenSize() GUIEditor = { button = {}, staticimage = {}, browser = {} } addEventHandler("onClientResourceStart", resourceRoot, function() x,y = guiGetScreenSize() GUIEditor.staticimage[1] = guiCreateStaticImage( x*0.05, y*0.1, x*0.9, y*0.7, "tlo.png", false) local browser = guiCreateBrowser(x*0.113, y*0.045, x*0.673, y*0.605, false, false, false, GUIEditor.staticimage[1]) local theBrowser = guiGetBro
  14. Is there any way I can put a text in a browser textfield that is not hosted on localhost? I know that I could inject mouse down on a textfield and user can type on his own a text string using his keyboard. The point is to do it from the code. Something like: injectBrowserMouseDown injectBrowserMouseUp injectBrowserTextInput("abcdefg") I wanted to use JS to get element by id and update innerText, but executeJavaScript does not with remote addresses.
  15. Is there any possibility to change browser request headers, user-agent for example?
  16. I'm wanting to know if there is a way to execute javascript functions from MTA to an iframe that is being shown in the browser. When I try and execute the function, it says it isn't defined. Thanks.
  17. <meta> <script src="client.lua" type="client" /> <min_mta_version server="1.5.0-9.07439" /> </meta> Client: local x, y = guiGetScreenSize() local browser = createBrowser(x, y, true) addCommandHandler("lgn", function() loadBrowserURL(browser, "http://mta/local/login.html") addEventHandler("onClientRender", getRootElement(), function() dxDrawImage(0, 0, x, y, browser, 0, 0, 0, tocolor(255, 255, 255), true) end) end) File tree being:
  18. Hello guys. I'm writing a costume GUI system with dx functions but it is possible with a browser too. What do you guys think which way should i do? Which has better performance? My dx GUI is simple (recentagle shaped) but if i make it with browser i would make a more fancy GUI (I mean curved border, nice animations with HTML5 or maybe responsive with media queries) MTA can handle this on a slow PC too? And can someone link some docs or examples about this JavaScript <-> Lua communication? How i JS call a Lua func or Lua a JS func?
×
×
  • Create New...