huyjvguyen Posted July 30, 2015 Share Posted July 30, 2015 function login() local width, height = guiGetScreenSize() local background = createBrowser(width, height, false, false) addEventHandler("onClientBrowserCreated", background, function() loadBrowserURL(background, "video.html") end) dxvideo = dxDrawImage(0, 0, width, height, background, 0, 0, 0, tocolor(255,255,255,255), true) button = guiCreateButton(0.3900, 0.700, 0.0850, 0.0300, "Đăng nhập", true,dxvideo) end addEventHandler("onClientRander",getRootElement(),login) problem is the background of login is not load link video Link to comment
FuriouZ Posted July 30, 2015 Share Posted July 30, 2015 You probably need a full url there not just a video.html 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