Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
db05c860
Commit
db05c860
authored
Sep 21, 2011
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
web intf: lint validation fix
parent
7d3dbfac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
share/lua/http/js/common.js
share/lua/http/js/common.js
+4
-4
No files found.
share/lua/http/js/common.js
View file @
db05c860
var
intv
=
0
;
var
intv
=
0
;
var
ccmd
=
""
;
var
ccmd
=
""
;
var
video_types
=
new
Array
(
'
avi
'
,
'
mp4
'
,
'
wmv
'
,
'
mov
'
,
'
swf
'
,
'
vob
'
,
'
mkv
'
,
'
mpg
'
)
;
var
video_types
=
[
'
avi
'
,
'
mp4
'
,
'
wmv
'
,
'
mov
'
,
'
swf
'
,
'
vob
'
,
'
mkv
'
,
'
mpg
'
]
;
var
audio_types
=
new
Array
(
'
mp3
'
,
'
wav
'
)
;
var
audio_types
=
[
'
mp3
'
,
'
wav
'
]
;
var
stream_server
=
window
.
location
.
hostname
;
var
stream_server
=
window
.
location
.
hostname
;
function
format_time
(
s
){
function
format_time
(
s
){
var
hours
=
Math
.
floor
(
s
/
3600
);
var
hours
=
Math
.
floor
(
s
/
3600
);
...
@@ -17,7 +17,7 @@ function setIntv(){
...
@@ -17,7 +17,7 @@ function setIntv(){
intv
++
;
intv
++
;
setTimeout
(
setIntv
,
500
);
setTimeout
(
setIntv
,
500
);
}
else
{
}
else
{
intv
=
0
intv
=
0
;
}
}
if
(
intv
>
5
){
if
(
intv
>
5
){
var
nt
=
0
;
var
nt
=
0
;
...
@@ -58,4 +58,4 @@ function createElementLi(name,type,dir,ext){
...
@@ -58,4 +58,4 @@ function createElementLi(name,type,dir,ext){
var
open
=
type
==
"
dir
"
?
"
opendir='
"
+
dir
+
"
'
"
:
(
type
==
"
file
"
?
"
openfile='
"
+
dir
+
"
'
"
:
"
opendev='
"
+
dir
+
"
'
"
);
var
open
=
type
==
"
dir
"
?
"
opendir='
"
+
dir
+
"
'
"
:
(
type
==
"
file
"
?
"
openfile='
"
+
dir
+
"
'
"
:
"
opendev='
"
+
dir
+
"
'
"
);
var
str
=
"
<li class='system_icon ui-widget-content'
"
+
open
+
"
><img src='images/
"
+
icon
+
"
' width='48px' height='48px' title='
"
+
name
+
"
' alt='
"
+
name
+
"
' style='border: none;background:none;'/><div style='font-size:10px;border:none;background:none;'>
"
+
name
+
"
</div></li>
"
;
var
str
=
"
<li class='system_icon ui-widget-content'
"
+
open
+
"
><img src='images/
"
+
icon
+
"
' width='48px' height='48px' title='
"
+
name
+
"
' alt='
"
+
name
+
"
' style='border: none;background:none;'/><div style='font-size:10px;border:none;background:none;'>
"
+
name
+
"
</div></li>
"
;
return
str
;
return
str
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment