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
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