|
|
|
|
English
|
|
Questions:
Q1:How to add Player Library to my silverlight application code, do you have Code Example?
Q2:I wonder if the
G2 player support wowza silverlight media?
A2:Yes, We did test Wowza smooth stream
Manifest and it's work, wowza playlist not supported only Smooth Streaming (Microsoft Silverlight)
Manifest. more info - wowza website
Q3:Is this monthly subscription when i purchase the
2nd Generation player?
A3: No, When you purchase the 2nd generation player it is one time pay
$49.99 and upgrade free.
Q4:Where the information for Generation 1 players?
A4: Please follow this link.
***Please e-mail
Support Team
if you have any questions
or comments.
List of Variables:
Make sure all the variables pass the way
showing below.
- height (420): Sets the overall height of the
control.
- width (530): Sets the overall width of the
control.
- srcfile (undefined): Sets the location of the file to play.
- srcname (undefined): If you play a movie, set video header name.
- srcinfo (undefined): If you play a movie, set video information.
- srcimage (undefined): If you play a movie, set this to the url of a preview image.
- videolist (undefined): Sets the location of the video list xml file.
- backcolor(white): only apply when you use UserControl.
- autostart (true): Set this to true to automatically start playing when the page loads.
- stretch = (Fill): Sets how to stretch movies to make them fit the display. The default stretches to fit the display. Set this to Fill, Uniform, UniformToFill or None.
- repeat (false): Set this to true to automatically repeat playback of the file (an infinite loop).
- mute (false): Set this to true to mute the player on startup.
- HideVideolistButton (false): Set true to hide video list if you don't have a video list.
- HideVideoInfoButton (false): Set true to hide video info if you don't have a video info.
- HideBossButton (false): Set true to hide Boss Button.(only Galaxy 1.9 apply for now)
- volume(5): sets the startup volume for playback of sounds and movies. set scale 1-10.
- isSmoothStream (false):is the video source iis media smooth stream.default false.
- showlist (false):show video list on startup, video autoplay will stoped.default false.(only Galaxy 1.9 apply for now)
HTML Example:
<object
data="data:application/x-silverlight-2,"
type="application/x-silverlight-2"
width="100%"
height="100%">
<param
name="initparams"
value="Height = 420,
Width = 530
,srcfile = http://www.helnix.com/ClientBin/Clips/ClipShow.mp4
,srcname = Iron man 2
,srcinfo = The world is aware that billionaire inventor Tony Stark is the armored Super Hero Iron Man.
,srcimage = http://www.helnix.com/ClientBin/Clips/IronManImage.png
,videolist= vMapClips.xml
,autostart = true
,stretch = Fill
,repeat = false
,mute = false
,HideVideolistButton = false
,HideVideoInfoButton = false
,HideBossButton = false
,volume = 5
,showlist = false
,isSmoothStream=false" >
Javascript Example: All G2 players you can apply the javascript code.
<script type="text/javascript"
>
function PlayerInitparams() {
var
height
= '405';
var
width
= '702';
var
srcfile
= 'http://www.helnix.com/ClientBin/Clips/ClipShow.mp4';
var
srcname
= 'iron man 2';
var
srcimage
= 'http://www.helnix.com/ClientBin/Clips/IronManImage.png';
var
srcinfo
= 'video description';
var
videolist
= 'vMapClips.xml';
var
autostart
= 'true';
var
stretch
= 'Fill';
var
repeat
= 'false';
var
mute
= 'false';
var
HideVideolistButton
= 'false';
var
HideVideoInfoButton
= 'false';
var
HideBossButton
= 'false';
var
volume
= '5';
var
isSmoothStream
= 'false';
var
showlist
= 'false';
var
initparams
= 'height=' + height + '^width=' + width + '^srcfile=' + srcfile + '^srcname=' +
srcname + '^srcimage=' + srcimage + '^srcinfo=' + srcinfo + '^videolist=' +
videolist + '^autostart=' + autostart + '^stretch=' + stretch + '^repeat=' +
repeat + '^mute=' + mute + '^HideVideolistButton=' + HideVideolistButton +
'^HideVideoInfoButton=' + HideVideoInfoButton + '^HideBossButton=' + HideBossButton + '^volume=' + volume +
'^isSmoothStream=' + isSmoothStream + ' ^showlist=' + showlist + ';
return initparams;
}
</script
>
it's very simple just add this function to your page and
the player will search and invoke function name for initparams. no other code
need to be done.
WordPress Example:
[silverlight:http://10.1.10.88/wp-content/plugins/helnix_wordpress/HelnixGalaxyPlayerV1_6.xap,530,420,stretch=Fill#srcname=
No Description#srcinfo=No Description#srcimage=N#videolist=vMapClips.xml#autostart=true#repeat=false#mute=false#
HideVideolistButton=false#HideVideoInfoButton=false#volume=5#isSmoothStream=false#
srcfile=http://www.helnix.com/ClientBin/Clips/ClipShow2.mp4]
Hard to do? No problem use the wordpress tools
to build it for you.
XML File Style:
On this example we add two videos to the list:
videolist.xml
<list>
<videolist
name="Movies">
  <videoitem
name="Video1 name"
location="Video1 URL"
image="Video1 thumbnail URL"
smoothstream="false">
    Your video1 Description here
  </videoitem>
  <videoitem
name="Video2 name" location="Video2 URL"
image="Video2 thumbnail URL"
smoothstream="true">
    Your video2 Description here
  </videoitem>
</videolist>
</list>
|