Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
9810ccf7
Commit
9810ccf7
authored
Sep 04, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Same mute button for lua http interface
parent
49831d15
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
share/lua/http/dialogs/main
share/lua/http/dialogs/main
+5
-0
share/lua/http/js/functions.js
share/lua/http/js/functions.js
+4
-0
No files found.
share/lua/http/dialogs/main
View file @
9810ccf7
...
@@ -94,6 +94,11 @@ sout and playlist .
...
@@ -94,6 +94,11 @@ sout and playlist .
<img
src=
"images/volume_up.png"
alt=
"Increase Volume"
/>
<img
src=
"images/volume_up.png"
alt=
"Increase Volume"
/>
<span
class=
"btn_text"
>
Increase Volume
</span>
<span
class=
"btn_text"
>
Increase Volume
</span>
</button>
</button>
<button
id=
"btn_volume_mute"
onclick=
"volume_mute();"
onmouseover=
"button_over(this);"
onmouseout=
"button_out(this);"
title=
"Mute Volume"
>
<img
src=
"images/volume_mute.png"
alt=
"Mute Volume"
/>
<span
class=
"btn_text"
>
Mute Volume
</span>
</button>
</div>
</div>
<div
id=
"status"
>
<div
id=
"status"
>
<span
id=
"state"
>
(?)
</span>
<span
id=
"state"
>
(?)
</span>
...
...
share/lua/http/js/functions.js
View file @
9810ccf7
...
@@ -374,6 +374,10 @@ function volume_up()
...
@@ -374,6 +374,10 @@ function volume_up()
{
{
loadXMLDoc
(
'
requests/status.xml?command=volume&val=%2B20
'
,
parse_status
);
loadXMLDoc
(
'
requests/status.xml?command=volume&val=%2B20
'
,
parse_status
);
}
}
function
volume_mute
()
{
loadXMLDoc
(
'
requests/status.xml?command=volume&val=0
'
,
parse_status
);
}
function
seek
(
pos
)
function
seek
(
pos
)
{
{
loadXMLDoc
(
'
requests/status.xml?command=seek&val=
'
+
pos
,
parse_status
);
loadXMLDoc
(
'
requests/status.xml?command=seek&val=
'
+
pos
,
parse_status
);
...
...
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