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
cdce6740
Commit
cdce6740
authored
Jan 18, 2010
by
Jean-Paul Saman
Committed by
JP Dinger
Jan 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add vlc.video.logo video filter test case to test.html
parent
851e1c56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
6 deletions
+97
-6
projects/activex/test.html
projects/activex/test.html
+49
-3
projects/mozilla/test.html
projects/mozilla/test.html
+48
-3
No files found.
projects/activex/test.html
View file @
cdce6740
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
F
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HTML>
<TITLE>
VLC Plugin test page
</TITLE>
<TITLE>
VLC Plugin test page
</TITLE>
<STYLE>
<STYLE>
...
@@ -115,6 +115,7 @@ Insert VideoLAN.VLCPlugin.2
...
@@ -115,6 +115,7 @@ Insert VideoLAN.VLCPlugin.2
width=
"640"
width=
"640"
height=
"480"
height=
"480"
toolbar=
"true"
toolbar=
"true"
text=
"Waiting for video"
name=
"vlc"
>
name=
"vlc"
>
</EMBED>
</EMBED>
</OBJECT>
</OBJECT>
...
@@ -210,7 +211,7 @@ Insert Slider widget
...
@@ -210,7 +211,7 @@ Insert Slider widget
</TD>
</TD>
</TR>
</TR>
<TR>
<TR>
<TD>
Marquee:
<TD>
Marquee
video filter
:
<INPUT
type=
button
value=
"Enable"
onClick=
'getVLC("vlc").video.marquee.enable();'
>
<INPUT
type=
button
value=
"Enable"
onClick=
'getVLC("vlc").video.marquee.enable();'
>
<INPUT
type=
button
value=
"Disable"
onClick=
'getVLC("vlc").video.marquee.disable();'
>
<INPUT
type=
button
value=
"Disable"
onClick=
'getVLC("vlc").video.marquee.disable();'
>
<INPUT
size=
4
value=
""
id=
"marqueeIntValue"
>
<INPUT
size=
4
value=
""
id=
"marqueeIntValue"
>
...
@@ -226,7 +227,25 @@ Insert Slider widget
...
@@ -226,7 +227,25 @@ Insert Slider widget
<OPTION
value=
9
>
Y
</OPTION>
<OPTION
value=
9
>
Y
</OPTION>
</SELECT>
</SELECT>
</TD>
</TD>
</TR>
</TR>
<TR>
<TD>
Logo video filter:
<INPUT
type=
button
value=
"Enable"
onClick=
'getVLC("vlc").video.logo.enable();'
>
<INPUT
type=
button
value=
"Disable"
onClick=
'getVLC("vlc").video.logo.disable();'
>
<INPUT
size=
4
value=
""
id=
"logoIntValue"
>
<SELECT
readonly
onClick=
"doLogoOption(this.value,document.getElementById('logoIntValue').value);"
>
<OPTION
value=
1
>
File
</OPTION>
<OPTION
value=
2
>
Transparency
</OPTION>
<OPTION
value=
3
>
Position
</OPTION>
<OPTION
value=
4
>
Repeat
</OPTION>
<OPTION
value=
5
>
Delay
</OPTION>
<OPTION
value=
6
>
X
</OPTION>
<OPTION
value=
7
>
Y
</OPTION>
<OPTION
value=
8
>
Width
</OPTION>
<OPTION
value=
9
>
Height
</OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TR>
<TD>
<TD>
<INPUT
type=
button
id=
"telx"
value=
"Teletext off"
onClick=
'doToggleTeletext();'
>
<INPUT
type=
button
id=
"telx"
value=
"Teletext off"
onClick=
'doToggleTeletext();'
>
...
@@ -763,6 +782,33 @@ function doMarqueeOption(option, value)
...
@@ -763,6 +782,33 @@ function doMarqueeOption(option, value)
vlc.video.marquee.y(val);
vlc.video.marquee.y(val);
}
}
}
}
function doLogoOption(option, value)
{
var vlc = getVLC("vlc");
val = parseInt(value);
if( vlc )
{
if (option == 1)
vlc.video.logo.file(val);
if (option == 2)
vlc.video.logo.transparency(val);
if (option == 3)
vlc.video.logo.position(val);
if (option == 4)
vlc.video.logo.repeat(val);
if (option == 5)
vlc.video.logo.delay(val);
if (option == 6)
vlc.video.logo.x(val);
if (option == 7)
vlc.video.logo.y(val);
if (option == 8)
vlc.video.logo.width(val);
if (option == 9)
vlc.video.logo.height(val);
}
}
//-->
//-->
</SCRIPT>
</SCRIPT>
...
...
projects/mozilla/test.html
View file @
cdce6740
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
F
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HTML>
<TITLE>
VLC Plugin test page
</TITLE>
<TITLE>
VLC Plugin test page
</TITLE>
<STYLE>
<STYLE>
...
@@ -211,7 +211,7 @@ Insert Slider widget
...
@@ -211,7 +211,7 @@ Insert Slider widget
</TD>
</TD>
</TR>
</TR>
<TR>
<TR>
<TD>
Marquee:
<TD>
Marquee
video filter
:
<INPUT
type=
button
value=
"Enable"
onClick=
'getVLC("vlc").video.marquee.enable();'
>
<INPUT
type=
button
value=
"Enable"
onClick=
'getVLC("vlc").video.marquee.enable();'
>
<INPUT
type=
button
value=
"Disable"
onClick=
'getVLC("vlc").video.marquee.disable();'
>
<INPUT
type=
button
value=
"Disable"
onClick=
'getVLC("vlc").video.marquee.disable();'
>
<INPUT
size=
4
value=
""
id=
"marqueeIntValue"
>
<INPUT
size=
4
value=
""
id=
"marqueeIntValue"
>
...
@@ -227,7 +227,25 @@ Insert Slider widget
...
@@ -227,7 +227,25 @@ Insert Slider widget
<OPTION
value=
9
>
Y
</OPTION>
<OPTION
value=
9
>
Y
</OPTION>
</SELECT>
</SELECT>
</TD>
</TD>
</TR>
</TR>
<TR>
<TD>
Logo video filter:
<INPUT
type=
button
value=
"Enable"
onClick=
'getVLC("vlc").video.logo.enable();'
>
<INPUT
type=
button
value=
"Disable"
onClick=
'getVLC("vlc").video.logo.disable();'
>
<INPUT
size=
4
value=
""
id=
"logoIntValue"
>
<SELECT
readonly
onClick=
"doLogoOption(this.value,document.getElementById('logoIntValue').value);"
>
<OPTION
value=
1
>
File
</OPTION>
<OPTION
value=
2
>
Transparency
</OPTION>
<OPTION
value=
3
>
Position
</OPTION>
<OPTION
value=
4
>
Repeat
</OPTION>
<OPTION
value=
5
>
Delay
</OPTION>
<OPTION
value=
6
>
X
</OPTION>
<OPTION
value=
7
>
Y
</OPTION>
<OPTION
value=
8
>
Width
</OPTION>
<OPTION
value=
9
>
Height
</OPTION>
</SELECT>
</TD>
</TR>
<TR>
<TR>
<TD>
<TD>
<INPUT
type=
button
id=
"telx"
value=
"Teletext off"
onClick=
'doToggleTeletext();'
>
<INPUT
type=
button
id=
"telx"
value=
"Teletext off"
onClick=
'doToggleTeletext();'
>
...
@@ -764,6 +782,33 @@ function doMarqueeOption(option, value)
...
@@ -764,6 +782,33 @@ function doMarqueeOption(option, value)
vlc.video.marquee.y(val);
vlc.video.marquee.y(val);
}
}
}
}
function doLogoOption(option, value)
{
var vlc = getVLC("vlc");
val = parseInt(value);
if( vlc )
{
if (option == 1)
vlc.video.logo.file(val);
if (option == 2)
vlc.video.logo.transparency(val);
if (option == 3)
vlc.video.logo.position(val);
if (option == 4)
vlc.video.logo.repeat(val);
if (option == 5)
vlc.video.logo.delay(val);
if (option == 6)
vlc.video.logo.x(val);
if (option == 7)
vlc.video.logo.y(val);
if (option == 8)
vlc.video.logo.width(val);
if (option == 9)
vlc.video.logo.height(val);
}
}
//-->
//-->
</SCRIPT>
</SCRIPT>
...
...
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