Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e63678cc
Commit
e63678cc
authored
Sep 24, 2011
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
web intf: fix volume on the 200% base
parent
fc1227e4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
share/lua/http/js/controlers.js
share/lua/http/js/controlers.js
+1
-1
share/lua/http/js/ui.js
share/lua/http/js/ui.js
+1
-1
No files found.
share/lua/http/js/controlers.js
View file @
e63678cc
...
...
@@ -20,7 +20,7 @@ function updateStatus(){
$
(
'
#totalTime
'
).
append
(
format_time
(
$
(
'
length
'
,
data
).
text
()));
$
(
'
#currentTime
'
).
append
(
format_time
(
$
(
'
time
'
,
data
).
text
()));
$
(
'
#seekSlider
'
).
slider
({
value
:
toFloat
(
$
(
'
position
'
,
data
).
text
())
*
100
});
$
(
'
#currentVolume
'
).
append
(
Math
.
round
(
$
(
'
volume
'
,
data
).
text
()
/
5.12
)
+
'
%
'
);
$
(
'
#currentVolume
'
).
append
(
Math
.
round
(
$
(
'
volume
'
,
data
).
text
()
/
2.56
)
+
'
%
'
);
$
(
'
#volumeSlider
'
).
slider
({
value
:
(
$
(
'
volume
'
,
data
).
text
()
/
5.12
)
});
$
(
'
#rateSlider
'
).
slider
({
value
:
(
$
(
'
rate
'
,
data
).
text
())
});
$
(
'
#currentRate
'
).
append
(
Math
.
round
(
$
(
'
rate
'
,
data
).
text
()
*
100
)
/
100
+
'
x
'
);
...
...
share/lua/http/js/ui.js
View file @
e63678cc
...
...
@@ -22,7 +22,7 @@ $(function(){
min
:
0
,
max
:
100
,
stop
:
function
(
event
,
ui
)
{
$
(
"
#currentVolume
"
).
empty
().
append
(
ui
.
value
+
"
%
"
);
$
(
"
#currentVolume
"
).
empty
().
append
(
ui
.
value
*
2
+
"
%
"
);
sendCommand
({
'
command
'
:
'
volume
'
,
'
val
'
:
Math
.
round
(
ui
.
value
*
5.12
)
...
...
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