Using CAYIN Media Player in HTML > Ticker Tag and Attributes

Ticker Tag and Attributes

You can use Ticker text tag to create a ticker area in you HTML page. Please refer to the tables and examples in the following sections.

HTML Code

1
2
3
4
5
<object type="TYPE Attribute" height=" Object height (pixel)" width=" Object width (pixel)">
<param name="NAME Attribute " value=" value ">
<param name="NAME Attribute " value=" value ">
<param name="NAME Attribute " value=" value ">
</object">
Back to Top

TYPE Attribute

Attribute Attribute Value Note
Type cayin/ticker You can create Ticker zone by creating this type of plug-ins..
Back to Top

NAME Attribute

Attribute Attribute Value Note
src

text://Ticker in running on table
file://folder/scr.txt
http://url/news.rss
https://url/news/rss

play-local-schedule-1

play-local-schedule-2

play-server-schedule-1 play-server-schedule-2

Text: enter text directly in the tag.
File: a text file contains the ticker.
http: a text file or RSS url.
play-local-schedule-x: follow local schedule zone 1 or 2
play-server-schedule-x: SMP's ticker will be controlled by CMS server
Note
  • You can specify one source in ticker plugins.
  • For the old "src=play-server-schedule", the system will apply "src=play-server-schedule-1" automatically.
direction 1/Left to Right
2/Right to left
1: Left to Right
2: Right to left
font Tahoma Default font: Tahoma
For other font choices please refer to the following section.
fsize 10~200 Font size: 30 by default
fcolor 0x118A3F Font color: 0xFFFFFF by default
First "11" means color Red
Mid "8A" means color Green
Last "3F" means color Blue
All numbers in hexadecimal value
bcolor 0x118A3F background color: 0x000000 by default
First "11" means color Red
Mid "8A" means color Green
Last "3F" means color Blue
All numbers in hexadecimal value
seffect 1
2
3
4
Text scrolling effect
1: No scrolling effect
2: Simple crawl
3: Simple Bottom up
4: Bottom up and crawl
speed 1, 2, 3, 4, 5, 6 3 by default
pause 0, 0.5, 1, 1.5, 2, 2.5, 3 Pause
spacing 0, 0.25, 0.5, 1, 1.25, 1.5 Line spacing
Back to Top

Example

Play text files in the Media Folder repeatedly

1
2
3
4
5
6
7
8
9
<html>
<head>
</head>
<body>
<object type="cayin/ticker" width="320" height="240">
<param name="src" value="file://folder/myticker.txt">
</object>
</body>
</html>
Back to Top