GuilhermeP Posted January 12, 2018 Share Posted January 12, 2018 Hello Friends ... I Would Like To Know How Do I Make A Script To Put An Introduction (Opening Video) On My Server? If somebody can help me Thanks! Link to comment
Tails Posted January 12, 2018 Share Posted January 12, 2018 (edited) Here's how to display a YouTube video on the screen for everybody. I hope this will help you. local url = "https://www.youtube.com/tv#/watch/video/control?v=iZAqaykiS70&resume" local sw, sh = guiGetScreenSize() local browser = Browser(sw, sh, false, false) addEventHandler("onClientBrowserCreated", browser, function() browser:loadURL(url) end) addEventHandler("onClientRender", root, function() dxDrawImage(0, 0, sw, sh, browser) end) Edited January 12, 2018 by Tails 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