Böngészőben lefuttatva az index.html, megy mint az atom, viszont mikor szerveren indítom el a modot, akkor nem jelenik meg a videó, sem a zene...
Szerintetek ez mitől lehet?
A modot csak letöltöttem... Az eredetit
itt találjátok
meta.xml
<!-- This resource need to add in ACL.xml to group Admin. -->
<meta>
<info author=\"draobrehtom\" description=\"HTML login panel by draobrehtom\" version=\"0.0.1\" type=\"script\"></info>
<script src=\"client.lua\" type=\"client\" cache=\"false\" />
<!-- HTML -->
<file src=\"login.html\" />
<file src=\"index.html\" />
<!-- FILES -->
<file src=\"media/video.webm\" />
<file src=\"media/track.ogg\" />
</meta>
client.lua
--[[
Usefull functions:
executeBrowserJavascript(theBrowser, \'document.getElementById(\"demo\").innerHTML = \"\' .. msg ..\'\"\')
]]
local screenWidth, screenHeight = guiGetScreenSize()
-- local page = \"http://mta/html-login-panel/html/login.html\"
local page = \"/index.html\"
local initBrowser = guiCreateBrowser(0, 0, screenWidth, screenHeight, true, false, false)
local theBrowser = guiGetBrowser(initBrowser)
addEventHandler(\"onClientBrowserCreated\", theBrowser,
function()
loadBrowserURL(source, page)
showCursor(true)
end
)
addCommandHandler(\"bezar\", root,
function()
destroyElement(initBrowser)
showCursor(false)
end
)
-- addEventHandler(\"onClientRender\", root,
-- function()
-- dxDrawImage(screenWidth*0.205,screenHeight*0.15,1890/2.5,1417/2.5,\"Test.png\", 0,0,0,tocolor(255,255,255,255),true)
-- end
-- )
index.html
<!DOCTYPE html>
<html >
<head>
<meta charset=\"UTF-8\">
<title>Random Login Form</title>
<style>
/* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */
@import url(http://fonts.googleapis.com/css?family=Exo:100,200,400);
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:700,400,300);
body{
margin: 0;
padding: 0;
background: #fff;
color: #fff;
font-family: Arial;
font-size: 12px;
position:fixed;
top:0;
bottom:0;
left:0;
right:0;
}
.body{
position: absolute;
top: -20px;
left: -20px;
right: -40px;
bottom: -40px;
width: auto;
height: auto;
<!-- background-image: url(http://ginva.com/wp-content/uploads/2012/07/city-skyline-wallpapers-008.jpg); -->
background-size: cover;
-webkit-filter: blur(5px);
z-index: 0;
}
video {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
transform: translateX(-50%) translateY(-50%);
-webkit-filter: blur(5px);
background-size: