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
61cb650c
Commit
61cb650c
authored
Oct 08, 2011
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
luahttp intf: Make use of gettext
parent
fb3be334
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
173 additions
and
157 deletions
+173
-157
po/POTFILES.in
po/POTFILES.in
+14
-0
share/lua/http/custom.lua
share/lua/http/custom.lua
+3
-0
share/lua/http/dialogs/batch_window.html
share/lua/http/dialogs/batch_window.html
+6
-5
share/lua/http/dialogs/browse_window.html
share/lua/http/dialogs/browse_window.html
+5
-5
share/lua/http/dialogs/create_stream.html
share/lua/http/dialogs/create_stream.html
+35
-35
share/lua/http/dialogs/equalizer_window.html
share/lua/http/dialogs/equalizer_window.html
+4
-4
share/lua/http/dialogs/error_window.html
share/lua/http/dialogs/error_window.html
+3
-3
share/lua/http/dialogs/mosaic_window.html
share/lua/http/dialogs/mosaic_window.html
+14
-14
share/lua/http/dialogs/offset_window.html
share/lua/http/dialogs/offset_window.html
+7
-7
share/lua/http/dialogs/stream_config_window.html
share/lua/http/dialogs/stream_config_window.html
+8
-8
share/lua/http/dialogs/stream_window.html
share/lua/http/dialogs/stream_window.html
+18
-18
share/lua/http/index.html
share/lua/http/index.html
+36
-38
share/lua/http/mobile.html
share/lua/http/mobile.html
+10
-10
share/lua/http/mobile_browse.html
share/lua/http/mobile_browse.html
+3
-3
share/lua/http/mobile_equalizer.html
share/lua/http/mobile_equalizer.html
+3
-3
share/lua/http/mobile_view.html
share/lua/http/mobile_view.html
+1
-1
share/lua/http/view.html
share/lua/http/view.html
+3
-3
No files found.
po/POTFILES.in
View file @
61cb650c
...
...
@@ -1137,6 +1137,20 @@ modules/visualization/visual/fft.c
modules/visualization/visual/fft.h
modules/visualization/visual/visual.c
modules/visualization/visual/visual.h
share/lua/http/index.html
share/lua/http/dialogs/batch_window.html
share/lua/http/dialogs/browse_window.html
share/lua/http/dialogs/create_stream.html
share/lua/http/dialogs/equalizer_window.html
share/lua/http/dialogs/error_window.html
share/lua/http/dialogs/mosaic_window.html
share/lua/http/dialogs/offset_window.html
share/lua/http/dialogs/stream_config_window.html
share/lua/http/dialogs/stream_window.html
share/lua/http/mobile_browse.html
share/lua/http/mobile_equalizer.html
share/lua/http/mobile.html
share/lua/http/mobile_view.html
# Qt4 .ui files
# uncomment (and prepend $builddir} if you want to generate a proper vlc.pot
...
...
share/lua/http/custom.lua
View file @
61cb650c
-- make xgettext fetch strings from html code
function
gettext
(
text
)
print
(
vlc
.
gettext
.
_
(
text
))
end
local
_G
=
_G
module
(
"custom"
,
package
.
seeall
)
...
...
share/lua/http/dialogs/batch_window.html
View file @
61cb650c
...
...
@@ -6,7 +6,7 @@
width
:
600
,
modal
:
true
,
buttons
:{
"
Send
"
:
function
(){
"
<?vlc gettext(
"
Send
"
) ?>
"
:
function
(){
var
cmds
=
$
(
'
#batchCommand
'
).
val
().
split
(
"
\n
"
);
for
(
var
i
=
0
;
i
<
cmds
.
length
;
i
++
){
cmds
[
i
]
=
cmds
[
i
].
replace
(
/^#.*$/
,
'
\n
'
);
...
...
@@ -15,7 +15,7 @@
sendVLMCmd
(
cmds
);
$
(
this
).
dialog
(
'
close
'
);
},
"
Cancel
"
:
function
(){
"
<?vlc gettext(
"
Cancel
"
) ?>
"
:
function
(){
$
(
this
).
dialog
(
'
close
'
);
}
}
...
...
@@ -23,9 +23,10 @@
})
//]]>
</script>
<div
id=
"window_batch"
title=
"
VLM Batch Commands
"
>
<div
id=
"window_batch"
title=
"
<?vlc gettext("
VLM
Batch
Commands
")
?
>
">
<textarea
id=
"batchCommand"
cols=
"50"
rows=
"16"
>
#paste your VLM commands here
#separate commands with a new line or a semi-colon
<?vlc gettext("#paste your VLM commands here") ?>
<?vlc gettext("#separate commands with a new line or a semi-colon") ?>
</textarea>
</div>
share/lua/http/dialogs/browse_window.html
View file @
61cb650c
...
...
@@ -9,12 +9,12 @@
modal
:
true
,
resizable
:
false
,
buttons
:
{
"
Open
"
:
function
(){
"
<?vlc gettext(
"
Open
"
) ?>
"
:
function
(){
$
(
'
li.ui-selected
'
,
'
#browse_elements
'
).
each
(
function
(){
$
(
this
).
dblclick
();
});
},
"
Enqueue
"
:
function
()
{
"
<?vlc gettext(
"
Enqueue
"
) ?>
"
:
function
()
{
$
(
'
li.ui-selected
'
,
'
#browse_elements
'
).
each
(
function
(){
var
path
=
this
.
getAttribute
(
'
opendir
'
)
?
this
.
getAttribute
(
'
opendir
'
)
:
this
.
getAttribute
(
'
openfile
'
);
switch
(
browse_target
){
...
...
@@ -25,7 +25,7 @@
});
$
(
this
).
dialog
(
"
close
"
);
},
"
Cancel
"
:
function
(){
"
<?vlc gettext(
"
Cancel
"
) ?>
"
:
function
(){
$
(
this
).
dialog
(
"
close
"
)
}
}
...
...
@@ -34,10 +34,10 @@
//]]>
</script>
<div
id=
"window_browse"
title=
"
Media Browser
"
>
<div
id=
"window_browse"
title=
"
<?vlc gettext("
Media
Browser
")
?
>
">
<div
style=
"height:500px;overflow: scroll;"
>
<ol
id=
'browse_elements'
selectable=
"selectable"
>
<li>
Play List
</li>
<li>
<?vlc gettext("Play List") ?>
</li>
</ol>
</div>
</div>
share/lua/http/dialogs/create_stream.html
View file @
61cb650c
...
...
@@ -39,7 +39,7 @@
width
:
800
,
modal
:
true
,
buttons
:{
"
Create
"
:
function
(){
"
<?vlc gettext(
"
Create
"
) ?>
"
:
function
(){
var
e
=
false
;
$
(
'
input
'
,
$
(
this
)).
removeClass
(
'
ui-state-error
'
);
$
(
'
#stream_error_container
'
).
css
({
...
...
@@ -80,7 +80,7 @@
$
(
this
).
dialog
(
'
close
'
);
}
},
"
Cancel
"
:
function
(){
"
<?vlc gettext(
"
Cancel
"
) ?>
"
:
function
(){
$
(
this
).
dialog
(
'
close
'
);
}
}
...
...
@@ -132,11 +132,11 @@
}
//]]>
</script>
<div
id=
"window_create_stream"
title=
"
Create Stream
"
>
<div
id=
"window_create_stream"
title=
"
<?vlc gettext("
Create
Stream
")
?
>
">
<table
width=
"100%"
>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
<h5>
Stream Name
</h5>
<h5>
<?vlc gettext("Stream Name") ?>
</h5>
</td>
<td
colspan=
"5"
valign=
"top"
>
<input
type=
"text"
name=
"stream_name"
id=
"stream_name"
value=
""
/>
...
...
@@ -144,20 +144,20 @@
</tr>
<tr>
<th
colspan=
"2"
valign=
"top"
>
<h5>
Video
</h5>
<h5>
<?vlc gettext("Video") ?>
</h5>
</th>
<th
colspan=
"2"
valign=
"top"
>
<h5>
Audio
</h5>
<h5>
<?vlc gettext("Audio") ?>
</h5>
</th>
<th
colspan=
"2"
valign=
"top"
>
<h5>
Subtitles
</h5>
<h5>
<?vlc gettext("Subtitles") ?>
</h5>
</th>
<th
colspan=
"2"
valign=
"top"
>
<h5>
Output
</h5>
<h5>
<?vlc gettext("Output") ?>
</h5>
</th>
</tr>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Video Codec
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Video Codec") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_vcodec"
id=
"stream_vcodec"
>
<option
value=
"FLV1"
>
FLV1
</option>
...
...
@@ -175,7 +175,7 @@
<option
value=
"theo"
>
theo
</option>
</select>
</td>
<td
style=
"text-align:right"
valign=
"top"
>
Audio Codec
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Audio Codec") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_acodec"
id=
"stream_acodec"
>
<option
value=
"mp3"
>
mp3
</option>
...
...
@@ -190,18 +190,18 @@
<option
value=
"fl32"
>
fl32
</option>
</select>
</td>
<td
style=
"text-align:right"
valign=
"top"
>
Subtitle Codec
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Subtitle Codec") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_scodec"
id=
"stream_scodec"
>
<option
value=
""
>
none
</option>
<option
value=
""
>
<?vlc gettext("none") ?>
</option>
<option
value=
"dvbs"
>
dvbs
</option>
</select>
</td>
<td
style=
"text-align:right"
valign=
"top"
>
Output Method
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Output Method") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_out_method"
id=
"stream_out_method"
>
<option
value=
"http"
>
HTTP
</option>
<option
value=
"file"
>
File
</option>
<option
value=
"file"
>
<?vlc gettext("File") ?>
</option>
<option
value=
"mmsh"
>
MMSH
</option>
<option
value=
"rtp"
>
RTP
</option>
<option
value=
"udp"
>
UDP
</option>
...
...
@@ -209,7 +209,7 @@
</td>
</tr>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Video Bit Rate
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Video Bit Rate") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_vb"
id=
"stream_vb"
>
<option
value=
"4096"
>
4096
</option>
...
...
@@ -228,7 +228,7 @@
<option
value=
"16"
>
16
</option>
</select>
</td>
<td
style=
"text-align:right"
valign=
"top"
>
Audio Bit Rate
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Audio Bit Rate") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_ab"
id=
"stream_ab"
>
<option
value=
"512"
>
512
</option>
...
...
@@ -242,11 +242,11 @@
<option
value=
"16"
>
16
</option>
</select>
</td>
<td
style=
"text-align:right"
valign=
"top"
>
Overlay
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Overlay") ?>
</td>
<td
valign=
"top"
>
<input
type=
"checkbox"
name=
"stream_soverlay"
id=
"stream_soverlay"
value=
"1"
/>
</td>
<td
style=
"text-align:right"
valign=
"top"
>
Multiplexer
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Multiplexer") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_out_mux"
id=
"stream_out_mux"
>
<option
value=
"ts"
>
MPEG TS
</option>
...
...
@@ -263,7 +263,7 @@
</td>
</tr>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Video FPS
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Video FPS") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_fps"
id=
"stream_fps"
>
<option
value=
"300"
>
300
</option>
...
...
@@ -278,7 +278,7 @@
<option
value=
"24"
>
24
</option>
</select>
</td>
<td
style=
"text-align:right"
valign=
"top"
>
Audio Sample Rate
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Audio Sample Rate") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_samplerate"
id=
"stream_samplerate"
>
<option
value=
"192000"
>
192 KHz
</option>
...
...
@@ -294,13 +294,13 @@
</select>
</td>
<td
colspan=
"2"
valign=
"top"
>
</td>
<td
style=
"text-align:right"
valign=
"top"
>
MUX Options
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("MUX Options") ?>
</td>
<td
valign=
"top"
>
<input
type=
"text"
name=
"stream_out_mux_opts"
id=
"stream_out_mux_opts"
value=
"{mux=flv}"
/>
</td>
</tr>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Video Scale
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Video Scale") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_scale"
id=
"stream_scale"
>
<option
value=
"0.25"
>
25%
</option>
...
...
@@ -313,7 +313,7 @@
<option
value=
"2"
>
200%
</option>
</select>
</td>
<td
style=
"text-align:right"
valign=
"top"
>
Audio Channels
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Audio Channels") ?>
</td>
<td
valign=
"top"
>
<select
name=
"stream_channels"
id=
"stream_channels"
>
<option
value=
"1"
>
1
</option>
...
...
@@ -327,15 +327,15 @@
<div
id=
"output_options"
>
<table>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Output Port
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Output Port") ?>
</td>
<td
valign=
"top"
><input
type=
"text"
name=
"stream_out_port"
id=
"stream_out_port"
value=
"8081"
/></td>
</tr>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Output Destination
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Output Destination") ?>
</td>
<td><input
type=
"text"
name=
"stream_out_dest"
id=
"stream_out_dest"
value=
"0.0.0.0"
/></td>
</tr>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Output File
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Output File") ?>
</td>
<td
valign=
"top"
><input
type=
"text"
name=
"stream_out_file"
id=
"stream_out_file"
value=
"stream.flv"
/></td>
</tr>
</table>
...
...
@@ -343,7 +343,7 @@
</td>
</tr>
<tr>
<td
valign=
"top"
style=
"text-align:right"
>
Deinterlace
</td>
<td
valign=
"top"
style=
"text-align:right"
>
<?vlc gettext("Deinterlace") ?>
</td>
<td
valign=
"top"
>
<input
type=
"checkbox"
name=
"stream_deinterlace"
id=
"stream_deinterlace"
value=
"1"
/>
</td>
...
...
@@ -352,34 +352,34 @@
</tr>
<tr>
<td
style=
"text-align:right"
colspan=
"2"
valign=
"top"
>
Input Media
<?vlc gettext("Input Media") ?>
</td>
<td
colspan=
"6"
valign=
"top"
>
<input
type=
"text"
name=
"stream_input"
id=
"stream_input"
value=
""
size=
"50"
/>
<div
id=
"button_input"
class=
"button icon ui-widget ui-state-default"
title=
"
Media File
"
opendialog=
"window_browse"
><span
class=
"ui-icon ui-icon-eject"
></span></div>
<div
id=
"button_in_screen"
class=
"button icon ui-widget ui-state-default"
title=
"
Capture Screen
"
><span
class=
"ui-icon ui-icon-contact"
></span></div>
<div
id=
"button_input"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Media
File
")
?
>
" opendialog="window_browse">
<span
class=
"ui-icon ui-icon-eject"
></span></div>
<div
id=
"button_in_screen"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Capture
Screen
")
?
>
" >
<span
class=
"ui-icon ui-icon-contact"
></span></div>
</td>
</tr>
</table>
<div
class=
"ui-widget"
id=
"stream_error_container"
style=
"display:none;visibility: hidden;"
>
<div
class=
"ui-state-error ui-corner-all"
style=
"padding: 0 .7em;"
>
<p><span
class=
"ui-icon ui-icon-alert"
style=
"float: left; margin-right: .3em;"
></span>
<strong>
Error:
</strong>
<span
id=
"stream_error_message"
>
Sample ui-state-error style.
</span></p>
<strong>
<?vlc gettext("Error:") ?>
</strong>
<span
id=
"stream_error_message"
>
<?vlc gettext("Sample ui-state-error style.") ?>
</span></p>
</div>
</div>
</div>
<div
id=
"net_options"
style=
"display:none;visibility: hidden;"
>
<table>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Output Port
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Output Port") ?>
</td>
<td
valign=
"top"
><input
type=
"text"
name=
"stream_out_port_"
id=
"stream_out_port_"
value=
"8081"
/></td>
</tr>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Output Destination
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Output Destination") ?>
</td>
<td
valign=
"top"
><input
type=
"text"
name=
"stream_out_dest_"
id=
"stream_out_dest_"
value=
"0.0.0.0"
/></td>
</tr>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
Output File
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("Output File") ?>
</td>
<td
valign=
"top"
><input
type=
"text"
name=
"stream_out_file_"
id=
"stream_out_file_"
value=
"stream.flv"
/></td>
</tr>
</table>
...
...
@@ -387,7 +387,7 @@
<div
id=
"file_options"
style=
"display:none;visibility: hidden;"
>
<table>
<tr>
<td
style=
"text-align:right"
valign=
"top"
>
File Name
</td>
<td
style=
"text-align:right"
valign=
"top"
>
<?vlc gettext("File Name") ?>
</td>
<td
valign=
"top"
><input
type=
"text"
name=
"stream_out_filename_"
id=
"stream_out_filename_"
/></td>
</tr>
</table>
...
...
share/lua/http/dialogs/equalizer_window.html
View file @
61cb650c
...
...
@@ -8,7 +8,7 @@
width
:
500
,
resizable
:
false
,
buttons
:{
"
Reset
"
:
function
(){
"
<?vlc gettext(
"
Reset
"
) ?>
"
:
function
(){
$
(
'
.eqBand
'
).
each
(
function
(){
$
(
this
).
slider
(
'
value
'
,
0
);
sendEQCmd
({
...
...
@@ -19,7 +19,7 @@
});
},
"
Close
"
:
function
(){
"
<?vlc gettext(
"
Close
"
) ?>
"
:
function
(){
$
(
this
).
dialog
(
"
close
"
);
}
}
...
...
@@ -44,9 +44,9 @@
});
//]]>
</script>
<div
id=
"window_equalizer"
title=
"
Graphical Equalizer
"
>
<div
id=
"window_equalizer"
title=
"
<?vlc gettext("
Graphical
Equalizer
")
?
>
">
<div
style=
"margin: 5px 5px 5px 5px;"
>
<div>
Preamp:
<span
id=
"preamp_txt"
>
0dB
</span></div>
<div>
<?vlc gettext("Preamp:") ?>
<span
id=
"preamp_txt"
>
0dB
</span></div>
</div>
<div
style=
"margin: 5px 5px 10px 5px;"
>
<div
id=
"preamp"
style=
"font-size: 18px;"
></div>
...
...
share/lua/http/dialogs/error_window.html
View file @
61cb650c
...
...
@@ -5,7 +5,7 @@
width
:
400
,
modal
:
true
,
buttons
:{
"
Close
"
:
function
(){
"
<?vlc gettext(
"
Close
"
) ?>
"
:
function
(){
$
(
'
#error_container
'
).
empty
();
$
(
this
).
dialog
(
'
close
'
);
}
...
...
@@ -13,7 +13,7 @@
});
})
</script>
<div
id=
"window_error"
title=
"
Error!
"
>
<div
id=
"window_error"
title=
"
<?vlc gettext("
Error
!")
?
>
">
<div
class=
"ui-state-error"
><div
class=
"ui-icon ui-icon-alert"
></div></div>
<div
id=
"error_container"
class=
"ui-state-error"
></div>
</div>
\ No newline at end of file
</div>
share/lua/http/dialogs/mosaic_window.html
View file @
61cb650c
...
...
@@ -9,10 +9,10 @@
minHeight
:
500
,
modal
:
true
,
buttons
:
{
"
Create
"
:
function
()
{
"
<?vlc gettext(
"
Create
"
) ?>
"
:
function
()
{
$
(
this
).
dialog
(
"
close
"
);
},
"
Cancel
"
:
function
(){
"
<?vlc gettext(
"
Cancel
"
) ?>
"
:
function
(){
$
(
this
).
dialog
(
"
close
"
)
}
}
...
...
@@ -40,7 +40,7 @@
var
cols
=
Number
(
$
(
'
#mosaic_cols
'
).
val
());
var
n
=
0
;
$
(
'
#mosaic_tiles
'
).
empty
()
$
(
'
#mosaic_tiles
'
).
append
(
'
<tr><td colspan="99"><h3 style="margin:0px;cursor:move; font-weight:normal" class="ui-widget-header">
Mosaic Tiles
</h3></td></tr>
'
);
$
(
'
#mosaic_tiles
'
).
append
(
'
<tr><td colspan="99"><h3 style="margin:0px;cursor:move; font-weight:normal" class="ui-widget-header">
<?vlc gettext("Mosaic Tiles") ?>
</h3></td></tr>
'
);
for
(
var
i
=
0
;
i
<
rows
;
i
++
){
$
(
'
#mosaic_tiles
'
).
append
(
'
<tr>
'
);
for
(
var
j
=
0
;
j
<
cols
;
j
++
){
...
...
@@ -90,49 +90,49 @@
//]]>
</script>
<div
id=
"window_mosaic"
title=
"
Create Mosaic
"
>
<div
id=
"window_mosaic"
title=
"
<?vlc gettext("
Create
Mosaic
")
?
>
">
<table
id=
"mosaic_options"
>
<tr>
<td
style=
"text-align:right"
>
Rows:
</td>
<td
style=
"text-align:right"
>
<?vlc gettext("Rows:") ?>
</td>
<td>
<input
type=
"text"
name=
"mosaic_rows"
id=
"mosaic_rows"
size=
"3"
value=
"2"
/>
</td>
<td
style=
"text-align:right"
>
x offset
</td>
<td
style=
"text-align:right"
>
<?vlc gettext("x offset") ?>
</td>
<td>
<input
type=
"text"
name=
"mosaic_xoff"
id=
"mosaic_xoff"
size=
"3"
value=
"0"
disabled=
"disabled"
/>
</td>
<td
style=
"text-align:right"
>
row border
</td>
<td
style=
"text-align:right"
>
<?vlc gettext("row border") ?>
</td>
<td>
<input
type=
"text"
name=
"mosaic_rbord"
id=
"mosaic_rbord"
size=
"3"
value=
"5"
/>
</td>
<td
style=
"text-align:right"
>
width
</td>
<td
style=
"text-align:right"
>
<?vlc gettext("width") ?>
</td>
<td>
<input
type=
"text"
name=
"mosaic_width"
id=
"mosaic_width"
size=
"3"
value=
"100"
disabled=
"disabled"
/>
</td>
</tr>
<tr>
<td
style=
"text-align:right"
>
Columns:
</td>
<td
style=
"text-align:right"
>
<?vlc gettext("Columns:") ?>
</td>
<td>
<input
type=
"text"
name=
"mosaic_cols"
id=
"mosaic_cols"
size=
"3"
value=
"2"
/>
</td>
<td
style=
"text-align:right"
>
y offset
</td>
<td
style=
"text-align:right"
>
<?vlc gettext("y offset") ?>
</td>
<td>
<input
type=
"text"
name=
"mosaic_yoff"
id=
"mosaic_yoff"
size=
"3"
value=
"0"
disabled=
"disabled"
/>
</td>
<td
style=
"text-align:right"
>
column border
</td>
<td
style=
"text-align:right"
>
<?vlc gettext("column border") ?>
</td>
<td>
<input
type=
"text"
name=
"mosaic_cbord"
id=
"mosaic_cbord"
size=
"3"
value=
"5"
/>
</td>
<td
style=
"text-align:right"
>
height
</td>
<td
style=
"text-align:right"
>
<?vlc gettext("height") ?>
</td>
<td>
<input
type=
"text"
name=
"mosaic_height"
id=
"mosaic_height"
size=
"3"
value=
"100"
disabled=
"disabled"
/>
</td>
</tr>
</table>
<div
id=
"mosaic_bg"
class=
"ui-widget-content"
style=
"background: #3333FF;width:400px; height:300px;text-align: center; vertical-align: middle;"
>
<h3
style=
"margin:0px;font-weight:normal"
class=
"ui-widget-header"
>
Background
</h3>
<h3
style=
"margin:0px;font-weight:normal"
class=
"ui-widget-header"
>
<?vlc gettext("Background") ?>
</h3>
<table
id=
"mosaic_tiles"
class=
"ui-widget-content"
cellpadding=
"0"
cellspacing=
"0"
>
<tr><td
colspan=
"99"
><h3
style=
"margin:0px;cursor:move; font-weight:normal"
class=
"ui-widget-header"
>
Mosaic Tiles
</h3></td></tr>
<tr><td
colspan=
"99"
><h3
style=
"margin:0px;cursor:move; font-weight:normal"
class=
"ui-widget-header"
>
<?vlc gettext("Mosaic Tiles") ?>
</h3></td></tr>
<tr>
<td
class=
"mosaic"
></td>
<td
class=
"mosaic"
></td>
...
...
share/lua/http/dialogs/offset_window.html
View file @
61cb650c
...
...
@@ -64,16 +64,16 @@
});
//]]>
</script>
<div
id=
"window_offset"
title=
"
Track Synchronisation
"
>
<div>
Playback Rate
</div>
<div
id=
"rateSlider"
title=
"
Playback Rate
"
></div>
<div
id=
"window_offset"
title=
"
<?vlc gettext("
Track
Synchronisation
")
?
>
">
<div>
<?vlc gettext("Playback Rate") ?>
</div>
<div
id=
"rateSlider"
title=
"
<?vlc gettext("
Playback
Rate
")
?
>
">
</div>
<div
id=
"currentRate"
class=
"dynamic"
>
1x
</div>
<br/>
<div>
Audio Delay
</div>
<div
id=
"audioSlider"
title=
"
Audio Delay
"
></div>
<div>
<?vlc gettext("Audio Delay") ?>
</div>
<div
id=
"audioSlider"
title=
"
<?vlc gettext("
Audio
Delay
")
?
>
">
</div>
<div
id=
"currentAudioDelay"
class=
"dynamic"
>
0s
</div>
<br/>
<div>
Subtitle Delay
</div>
<div
id=
"subtitleSlider"
title=
"
Subtitle Delay
"
></div>
<div>
<?vlc gettext("Subtitle Delay") ?>
</div>
<div
id=
"subtitleSlider"
title=
"
<?vlc gettext("
Subtitle
Delay
")
?
>
">
</div>
<div
id=
"currentSubtitleDelay"
class=
"dynamic"
>
0s
</div>
</div>
share/lua/http/dialogs/stream_config_window.html
View file @
61cb650c
...
...
@@ -5,36 +5,36 @@
width
:
400
,
modal
:
true
,
buttons
:{
"
Okay
"
:
function
(){
"
<?vlc gettext(
"
Okay
"
) ?>
"
:
function
(){
$
(
'
#player
'
).
empty
();
$
(
'
#player
'
).
attr
(
'
href
'
,
$
(
'
#stream_protocol
'
).
val
()
+
'
://
'
+
$
(
'
#stream_host
'
).
val
()
+
'
:
'
+
$
(
'
#stream_port
'
).
val
()
+
'
/
'
+
$
(
'
#stream_file
'
).
val
());
flowplayer
(
"
player
"
,
"
http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf
"
);
$
(
this
).
dialog
(
'
close
'
);
},
"
Cancel
"
:
function
(){
"
<?vlc gettext(
"
Cancel
"
) ?>
"
:
function
(){
$
(
this
).
dialog
(
'
close
'
);
}
}
});
})
</script>
<div
id=
"window_stream_config"
title=
"
Stream Input Configuration
"
>
<div
id=
"window_stream_config"
title=
"
<?vlc gettext("
Stream
Input
Configuration
")
?
>
">
<table>
<tr>
<td>
Protocol
</td>
<td>
<?vlc gettext("Protocol") ?>
</td>
<td><input
type=
"text"
name=
"stream_protocol"
id=
"stream_protocol"
value=
"http"
/></td>
</tr>
<tr>
<td>
Host
</td>
<td>
<?vlc gettext("Host") ?>
</td>
<td><input
type=
"text"
name=
"stream_host"
id=
"stream_host"
value=
""
/></td>
</tr>
<tr>
<td>
Port
</td>
<td>
<?vlc gettext("Port") ?>
</td>
<td><input
type=
"text"
name=
"stream_port"
id=
"stream_port"
value=
"8081"
/></td>
</tr>
<tr>
<td>
File
</td>
<td>
<?vlc gettext("File") ?>
</td>
<td><input
type=
"text"
name=
"stream_file"
id=
"stream_file"
value=
"stream.flv"
/></td>
</tr>
</table>
</div>
\ No newline at end of file
</div>
share/lua/http/dialogs/stream_window.html
View file @
61cb650c
...
...
@@ -13,7 +13,7 @@
minWidth
:
600
,
minHeight
:
430
,
buttons
:{
"
Close
"
:
function
(){
"
<?vlc gettext(
"
Close
"
) ?>
"
:
function
(){
$
(
this
).
dialog
(
"
close
"
);
}
}
...
...
@@ -23,7 +23,7 @@
width
:
400
,
modal
:
true
,
buttons
:{
"
Okay
"
:
function
(){
"
<?vlc gettext(
"
Okay
"
) ?>
"
:
function
(){
$
(
this
).
dialog
(
'
close
'
);
}
}
...
...
@@ -55,44 +55,44 @@
<div
id=
"stream_status_"
style=
"visibility:hidden;display:none;"
>
<h3><a
href=
"#"
id=
"stream_title_"
></a></h3>
<div>
<div
id=
"button_stream_stop_"
class=
"button icon ui-widget ui-state-default"
title=
"
Stop
"
><span
class=
"ui-icon ui-icon-stop"
></span></div>
<div
id=
"button_stream_play_"
class=
"button icon ui-widget ui-state-default"
title=
"
Play
"
><span
class=
"ui-icon ui-icon-play"
></span></div>
<div
id=
"button_stream_loop_"
class=
"button icon ui-widget ui-state-default"
title=
"
Loop
"
><span
class=
"ui-icon ui-icon-refresh"
></span></div>
<div
id=
"button_stream_delete_"
class=
"button icon ui-widget ui-state-default"
title=
"
Remove Stream
"
><span
class=
"ui-icon ui-icon-trash"
></span></div>
<div
id=
"button_stream_stop_"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Stop
")
?
>
">
<span
class=
"ui-icon ui-icon-stop"
></span></div>
<div
id=
"button_stream_play_"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Play
")
?
>
">
<span
class=
"ui-icon ui-icon-play"
></span></div>
<div
id=
"button_stream_loop_"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Loop
")
?
>
">
<span
class=
"ui-icon ui-icon-refresh"
></span></div>
<div
id=
"button_stream_delete_"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Remove
Stream
")
?
>
">
<span
class=
"ui-icon ui-icon-trash"
></span></div>
<div>
Title:
<span
id=
"stream_file_"
></span></div>
<div
style=
"width: 260px; margin: 5px 0px 10px 0px;"
>
<div
id=
"stream_pos_"
></div>
Time:
<span
id=
"stream_current_time_"
>
00:00:00
</span>
/
<span
id=
"stream_total_time_"
>
00:00:00
</span>
<?vlc gettext("Time:") ?>
<span
id=
"stream_current_time_"
>
00:00:00
</span>
/
<span
id=
"stream_total_time_"
>
00:00:00
</span>
</div>
</div>
</div>
<div
id=
"window_streams"
title=
"
Manage Streams
"
>
<div
id=
"button_create_stream"
class=
"button icon ui-widget ui-state-default"
title=
"
Create New Stream
"
opendialog=
"window_create_stream"
><span
class=
"ui-icon ui-icon-plus"
></span></div>
<div
id=
"button_create_mosaic"
class=
"button icon ui-widget ui-state-default"
title=
"
Create Mosaic
"
opendialog=
"window_create_mosaiac"
><span
class=
"ui-icon ui-icon-calculator"
></span></div>
<div
id=
"button_clear_streams"
class=
"button icon ui-widget ui-state-default"
title=
"
Delete All Streams
"
><span
class=
"ui-icon ui-icon-trash"
></span></div>
<div
id=
"button_config_streams"
class=
"button icon ui-widget ui-state-default"
title=
"
Configure Stream Defaults
"
><span
class=
"ui-icon ui-icon-wrench"
></span></div>
<div
id=
"button_refresh_streams"
class=
"button ui-widget ui-state-default ui-corner-all"
title=
"
Refresh Streams
"
><span
class=
"ui-icon ui-icon-arrowrefresh-1-n"
></span></div>
<div
id=
"window_streams"
title=
"
<?vlc gettext("
Manage
Streams
")
?
>
">
<div
id=
"button_create_stream"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Create
New
Stream
")
?
>
" opendialog="window_create_stream">
<span
class=
"ui-icon ui-icon-plus"
></span></div>
<div
id=
"button_create_mosaic"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Create
Mosaic
")
?
>
" opendialog="window_create_mosaiac">
<span
class=
"ui-icon ui-icon-calculator"
></span></div>
<div
id=
"button_clear_streams"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Delete
All
Streams
")
?
>
">
<span
class=
"ui-icon ui-icon-trash"
></span></div>
<div
id=
"button_config_streams"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Configure
Stream
Defaults
")
?
>
">
<span
class=
"ui-icon ui-icon-wrench"
></span></div>
<div
id=
"button_refresh_streams"
class=
"button ui-widget ui-state-default ui-corner-all"
title=
"
<?vlc gettext("
Refresh
Streams
")
?
>
">
<span
class=
"ui-icon ui-icon-arrowrefresh-1-n"
></span></div>
<div
id=
"stream_info"
>
</div>
</div>
<div
id=
"window_stream_config"
title=
"
Stream Input Configuration
"
>
<div
id=
"window_stream_config"
title=
"
<?vlc gettext("
Stream
Input
Configuration
")
?
>
">
<table>
<tr>
<td>
Protocol
</td>
<td>
<?vlc gettext("Protocol") ?>
</td>
<td><input
type=
"text"
name=
"stream_protocol"
id=
"stream_protocol"
value=
"http"
/></td>
</tr>
<tr>
<td>
Host
</td>
<td>
<?vlc gettext("Host") ?>
</td>
<td><input
type=
"text"
name=
"stream_host"
id=
"stream_host"
value=
""
/></td>
</tr>
<tr>
<td>
Port
</td>
<td>
<?vlc gettext("Port") ?>
</td>
<td><input
type=
"text"
name=
"stream_port"
id=
"stream_port"
value=
"8081"
/></td>
</tr>
<tr>
<td>
File
</td>
<td>
<?vlc gettext("File") ?>
</td>
<td><input
type=
"text"
name=
"stream_file"
id=
"stream_file"
value=
"stream.flv"
/></td>
</tr>
</table>
...
...
share/lua/http/index.html
View file @
61cb650c
This diff is collapsed.
Click to expand it.
share/lua/http/mobile.html
View file @
61cb650c
...
...
@@ -22,7 +22,7 @@
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<html>
<head>
<title>
VLC media player - Web Interface
</title>
<title>
<?vlc gettext("VLC media player - Web Interface") ?>
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width; user-scalable=no"
/>
<link
href=
"favicon.ico"
type=
"image/x-icon"
rel=
"shortcut icon"
/>
...
...
@@ -71,10 +71,10 @@
<img
id=
"albumArt"
src=
"/art"
width=
"141px"
height=
"130px"
alt=
"Album Art"
style=
"border:2px solid #000000;"
/>
</td>
<td
valign=
"top"
width=
"125px"
class=
"ui-widget-content"
rowspan=
"2"
>
<div
id=
"buttonOpen"
class=
"button48 ui-corner-all"
title=
"
Open Media
"
></div>
<div
id=
"buttonFull"
class=
"button48 ui-corner-all"
title=
"
Full Screen
"
></div>
<div
id=
"buttonEQ"
class=
"button48 ui-corner-all"
title=
"
Equalizer
"
></div>
<div
id=
"buttonSout"
class=
"button48 ui-corner-all"
title=
"
Easy Stream
"
></div
<div
id=
"buttonOpen"
class=
"button48 ui-corner-all"
title=
"
<?vlc gettext("
Open
Media
")
?
>
">
</div>
<div
id=
"buttonFull"
class=
"button48 ui-corner-all"
title=
"
<?vlc gettext("
Full
Screen
")
?
>
">
</div>
<div
id=
"buttonEQ"
class=
"button48 ui-corner-all"
title=
"
<?vlc gettext("
Equalizer
")
?
>
">
</div>
<div
id=
"buttonSout"
class=
"button48 ui-corner-all"
title=
"
<?vlc gettext("
Easy
Stream
")
?
>
">
</div
</td
>
</tr>
<tr>
...
...
@@ -93,12 +93,12 @@
<tr>
<td
id=
"controlButtons"
colspan=
"2"
valign=
"bottom"
height=
"108px;"
class=
"ui-widget-content"
>
<div
align=
"center"
>
<div
id=
"buttonPrev"
class=
"button48 ui-corner-all"
title=
"
Previous
"
></div>
<div
id=
"buttonPlay"
class=
"button48 ui-corner-all paused"
title=
"
Play
"
></div>
<div
id=
"buttonNext"
class=
"button48 ui-corner-all"
title=
"
Next
"
></div>
<div
id=
"buttonStop"
class=
"button48 ui-corner-all"
title=
"
Stop
"
></div>
<div
id=
"buttonPrev"
class=
"button48 ui-corner-all"
title=
"
<?vlc gettext("
Previous
")
?
>
">
</div>
<div
id=
"buttonPlay"
class=
"button48 ui-corner-all paused"
title=
"
<?vlc gettext("
Play
")
?
>
">
</div>
<div
id=
"buttonNext"
class=
"button48 ui-corner-all"
title=
"
<?vlc gettext("
Next
")
?
>
">
</div>
<div
id=
"buttonStop"
class=
"button48 ui-corner-all"
title=
"
<?vlc gettext("
Stop
")
?
>
">
</div>
</div>
<div
id=
"seekSlider"
title=
"
Seek Time
"
style=
"width:98%; margin-left:10px;font-size:30px;"
></div>
<div
id=
"seekSlider"
title=
"
<?vlc gettext("
Seek
Time
")
?
>
" style="width:98%; margin-left:10px;font-size:30px;">
</div>
<table
width=
"100%"
>
<tr>
<td>
...
...
share/lua/http/mobile_browse.html
View file @
61cb650c
...
...
@@ -22,7 +22,7 @@
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<html>
<head>
<title>
VLC media player - Web Interface
</title>
<title>
<?vlc gettext("VLC media player - Web Interface") ?>
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width; user-scalable=no"
/>
<link
href=
"favicon.ico"
type=
"image/x-icon"
rel=
"shortcut icon"
/>
...
...
@@ -42,10 +42,10 @@
</script>
</head>
<body>
<div
id=
"window_browse"
title=
"
Media Browser
"
>
<div
id=
"window_browse"
title=
"
<?vlc gettext("
Media
Browser
")
?
>
">
<div>
<ol
id=
'browse_elements'
selectable=
"selectable"
>
<li>
Play List
</li>
<li>
<?vlc gettext("Play List") ?>
</li>
</ol>
</div>
</div>
...
...
share/lua/http/mobile_equalizer.html
View file @
61cb650c
...
...
@@ -22,7 +22,7 @@
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<html>
<head>
<title>
VLC media player - Web Interface
</title>
<title>
<?vlc gettext("VLC media player - Web Interface") ?>
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width; user-scalable=no"
/>
<link
href=
"favicon.ico"
type=
"image/x-icon"
rel=
"shortcut icon"
/>
...
...
@@ -57,9 +57,9 @@
</script>
</head>
<body>
<div
id=
"window_equalizer"
title=
"
Graphical Equalizer
"
>
<div
id=
"window_equalizer"
title=
"
<?vlc gettext("
Graphical
Equalizer
")
?
>
">
<div
style=
"margin: 5px 5px 5px 5px;"
>
<div>
Preamp:
<span
id=
"preamp_txt"
>
0dB
</span></div>
<div>
<?vlc gettext("Preamp: ") ?>
<span
id=
"preamp_txt"
>
0dB
</span></div>
</div>
<div
style=
"margin: 5px 5px 10px 5px;"
>
<div
id=
"preamp"
style=
"font-size: 22px;"
></div>
...
...
share/lua/http/mobile_view.html
View file @
61cb650c
...
...
@@ -22,7 +22,7 @@
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<html>
<head>
<title>
VLC media player - Web Interface
</title>
<title>
<?vlc gettext("VLC media player - Web Interface") ?>
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width; user-scalable=no"
/>
<link
href=
"favicon.ico"
type=
"image/x-icon"
rel=
"shortcut icon"
/>
...
...
share/lua/http/view.html
View file @
61cb650c
...
...
@@ -23,7 +23,7 @@
<html
xmlns=
"http://www.w3.org/1999/xhtml"
>
<head>
<title>
VLC media player - Flash Viewer
</title>
<title>
<?vlc gettext("VLC media player - Flash Viewer") ?>
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<link
href=
"favicon.ico"
type=
"image/x-icon"
rel=
"shortcut icon"
/>
<link
type=
"text/css"
href=
"css/ui-lightness/jquery-ui-1.8.13.custom.css"
rel=
"stylesheet"
/>
...
...
@@ -62,9 +62,9 @@
<body>
<div
id=
"window_stream"
class=
"ui-widget-content"
>
<h3
class=
"ui-widget-header"
>
Streaming Output
</h3>
<h3
class=
"ui-widget-header"
>
<?vlc gettext("Streaming Output") ?>
</h3>
<div
class=
"ui-widget-content"
>
<div
id=
"button_stream_config"
class=
"button icon ui-widget ui-state-default"
title=
"
Configure
"
opendialog=
"window_stream_config"
><span
class=
"ui-icon ui-icon-wrench"
></span></div>
<div
id=
"button_stream_config"
class=
"button icon ui-widget ui-state-default"
title=
"
<?vlc gettext("
Configure
")
?
>
" opendialog="window_stream_config">
<span
class=
"ui-icon ui-icon-wrench"
></span></div>
<div
align=
"center"
>
<div
href=
"http://localhost:8081/stream.flv"
style=
"display:block;width:720px;height:500px"
id=
"player"
></div>
</div>
...
...
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