Documentation */?>

Player Configuration

Open HD FLV Player -xml-config.xml in text editor (Notepad, WordPad etc…)

    1. You will be able to find the following variables which help you to configure the player.
    S.no <Variables< Value <Process
    1 stagecolor Hexa-Decimal Value (0xFFFFFF) Changes the color of player background.
    2 autoplay True “or” false 1. If set “true” starts playing the video when page gets loaded (without user mouse event).
    2. If set “false” waits for the user’s mouse event to play the video.
    3 buffer 0–10
    (recommended = 3)
    Controls the buffer seconds.
    4 volume 0-100 Controls the initial volume level.
    5 normalscale 0, 1, 2
    0–Aspect ratio
    1–Keep original size
    2–Fit to screen
    Controls the scaling of video in Normal screen mode.
    6 fullscreenscale 0, 1, 2
    0–Aspect ratio
    1–Keep original size
    2–Fit to screen
    Controls the scaling of video in Full screen mode.
    7 license License key provided by us for the commercial version. Could use own logo with copyright permission.
    8 logopath Absolute path of your logo (works only in commercial version) Passes the logo path.
    (Allowed extensions: jpg, png, gif, swf)
    9 logoalpha 0–100
    (works only in commercial version)
    Controls the alpha transparency of Logo.
    10 logoalign TL–Top-left alignment
    TR–Top-right alignment
    BR–Bottom-right alignment
    BL–Bottom-left alignment (works only in commercial version)
    Controls the logo alignment.
    11 logo_target Absolute path (Works only in commercial version) Redirects to Target Page on clicking the Logo.
    12 skin Absolute path Uses the provided skin from skin folder.
    13 skin_autohide True “or” false Uses the skin auto hide option
    14 skinBgColor Hexa-Decimal Value (0×333333) Changes the color of player’s skin background.
    15 seek_barColor Hexa-Decimal Value (0xFFFFFF) Changes the color of player’s skin seek_bar color.
    16 buffer_barColor Hexa-Decimal Value (0×999999) Changes the color of player’s skin buffer_bar color.
    17 pro_BgColor Hexa-Decimal Value (0×000000) Changes the color of player’s skin progress bar background color.
    18 skinIconColor Hexa-Decimal Value (0xFCFCFC) Changes the color of player’s skin icon color.
    19 languageXML Absolute path XML file that converts your player to your native language.
    20 playlistXML Absolute path XML file that contains the videos Information (will be explained below).
    21 relatedVideoView Side “or” Center Displays Related Video planers either at the center or right side of the player.
    22 showPlaylist True “or” false Shows/Hides the playlist thumbnails.
    23 playlist_open True “or” false Opens Related Video thumbnails when video loads.
    24 relatedVideoBgColor Hexa-Decimal Value (0×000000) Changes the color of player-related video panel background.
    25 scroll_barColor Hexa-Decimal Value (0xFFFFFF) Changes the color of player-related video scroll_bar color.
    26 scroll_BgColor Hexa-Decimal Value (0×000000) Changes the color of player-related video scroll_bar background color.
    27 scroll_BgColor Hexa-Decimal Value (0×000000) Changes the color of player-related video scroll_bar background color.
    28 playButtonColor Hexa-Decimal Value (0xFFFFFF) Changes the color of player’s Play button color.
    29 playButtonBgColor Hexa-Decimal Value (0xFFFFFF) Changes the color of player’s Play button background color.
    30 HD_default True “or” false Makes playing the HD videos in default if both HD and normal videos provided to the player.
    31 adXML Absolute path XML file that contains self created pre- and post-roll ads to be played along with videos.
    32 preroll_ads True “or” false Global control to enable/disable pre-roll ads.
    33 postroll_ads True “or” false Global control to enable/disable post-roll ads.
    34 midrollXML Absolute path XML file that contains self created mid-roll ads to be played for the videos.
    35 midroll_ads True “or” false Global control to enable/disable mid-roll ads.
    36 adsSkip True “or” false Shows/Hides the pre-roll or post-roll Ads Skip button player.
    37 adsSkipDuration Numerical value represented in seconds Shows/Hides the pre-roll or post-roll Ads Skip button player.
    38 imaAds True “or” false Global control to enable or disable IMA ads.
    39 imaAdsXML Absolute path XML file that contains self created IMA ads to be played for the videos..
    40 shareURL Absolute path File that contains server side script to Send mail.
    41 embed_visible True “or” false Enables/disables the Embed option.
    42 Download True “or” false Global control to enable/disable Download button in player.
    43 downloadUrl Absolute path File that contains server side script to download videos.
    44 trackCode Tracking code The form trackCode UA-XXXXX-Y or UA-XXXXX-YY.
    45 showTag True “or” false Shows/Hides the video description on top of player.
    46 textColor Hexa-Decimal Value (0xFFFFFF) Changes the color of player’s default text.
    47 sharepanel_up_BgColor Hexa-Decimal Value (0×000000) Changes the color of player’s share panel up background color.
    48 sharepanel_down_BgColor Hexa-Decimal Value (0×000000) Changes the color of player share panel down background color.
    49 sharepaneltextColor Hexa-Decimal Value (0×000000) Changes the color of player share panel text color.
    50 sendButtonColor Hexa-Decimal Value (0×000000) Changes the color of player Mail Send button .
    51 sendButtonTextColor Hexa-Decimal Value (0×000000) Changes the color of player Mail Send button text color.
    52 imageDefault True “or” false Shows/Hides to display default images in player.
    53 timer True “or” false Shows/Hides the Timer button in skin.
    54 zoomIcon True “or” false Shows/Hides the Zoom button in top-left of the player.
    55 email True “or” false Shows/Hides the Email button in top-left of the player.
    56 shareIcon True “or” false Shows or hides the Share button in top-left of the player.
    57 fullscreen True “or” false Shows/Hides the Full Screen button in skin.
    58 volumecontrol True “or” false Shows/Hides the Volume Control button in skin.
    59 progressControl True “or” false Shows/Hides the Progress bar in skin.
    60 playlist_auto True “or” false Shows/Hides the playlist_auto play button in skin
    61 skinVisible True “or” false Shows/Hides the skin of player.
    62 skin_opacity Numerical value 0-1 Controls the alpha transparency of Skin.
    63 subTitleColor Hexa-decimal value (0xFFFFFF) Changes the color of subtitle text.
    64 subTitleBgColor Hexa-decimal value (0xFFFFFF) Changes the color of subtitle background.
    65 subTitleFontFamily Text font name Changes the text font of subtitle text.
    66 subTitleFontSize Numerical value 0-1 Controls the size of subtitle text.

    Configuring HD FLV Player through flashvars

    1. Open index.html in your favorite editor.

    2. You will be able to find the following code snippet

    <div name=’mediaspace’ id=’mediaspace’>

    <script type=”text/javascript”>

    var s1 = new SWFObject(‘HD FLV Player /hdplayer.swf’, ‘player’, ’640′, ’360′, ’9′);

    s1.addParam(‘allowfullscreen’, ‘true’);

    s1.addParam(‘allowscriptaccess’, ‘always’);

    s1.addParam(‘wmode’, ‘transparent’);

    s1.write(‘mediaspace’);

    </script>

    3. Add the below line next to s1.addParam (‘wmode’, ‘transparent’);

    s1.addVariable (‘stagecolor’, ’0×000000′);

    s1.addVariable (‘autoplay’, ‘true’);

    s1.addVariable (‘buffer’, ’3′);

    s1.addVariable (‘volume’, ’80′);

    4. Your final code will look as the following,

    <div name=’mediaspace’ id=’mediaspace’>

    <script type=”text/javascript”>

    var s1 = new SWFObject(‘HD FLV Player /hdplayer.swf’, ‘player’, ’640′, ’360′, ’9′);

    s1.addParam(‘allowfullscreen’, ‘true’);

    s1.addParam(‘allowscriptaccess’, ‘always’);

    s1.addParam(‘wmode’, ‘transparent’);

    s1.addVariable (‘stagecolor’, ’0×000000′);

    s1.addVariable (‘autoplay’, ‘true’);

    s1.addVariable (‘buffer’, ’3′);

    s1.addVariable (‘volume’, ’80′);

    s1.write(‘mediaspace’);

    </script>

    5. Run index.html in your favorite browser.

    Related Posts via Categories

    © Copyrights 2018 HD FLV Player - All Rights Reserved

    Paypal

    A part of Contus