• Chrome DLL Help
    0 replies, posted
[code] <script type='text/javascript'> <!-- var youurl=']] .. url .. [['; var newurl=youurl.split('v='); var convertedurl = newurl[1] document.write("<object width='100%' height='100%'><param name='movie' value='http://www.youtube.com/v/"+ convertedurl +"&hl=en&fs=1&autoplay=1'></param><param name='allowFullScreen' value='true'><param name='autoplay' value='true'></param></param><param name='allowscriptaccess' value='always'></param><embed src='http://www.youtube.com/v/"+ convertedurl + "&hl=en&fs=1&autoplay=1' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true' width='100%' height='100%'></embed></object>"); // --> </script> [/code] This will return "The webpage is trying to access ytimg.com" (something like that) I need the script to not return any errors like it is now. I know that if i use JW player it will stop (as long as its hosted on the localhost/server) Can i do this in gmod?
Sorry, you need to Log In to post a reply to this thread.