1. Configuring Options in HdFlvPlayer through config.xml

2. You will be able to find the following variables – which helps you to configure the player.






s1.addVariable(‘variable’, ‘value’);
Example: To pass the video file through flashvars,
<div name=’mediaspace’ id=’mediaspace’>
<script type=”text/javascript”>
var s1 = new SWFObject (‘hdflvplayer/hdplayer.swf’, ‘player’, ’640′, ’360′, ’9′);
s1.addParam(‘allowfullscreen’, ‘true’);
s1.addParam(‘allowfullscriptaccess’, ‘always’);
s1.addParam(‘wmode’, ‘transparent’);
s1.addVariable(‘file’, ‘your video file path goes here’);
s1.addVariable(‘hdpath’, ‘your hd file path goes here’);
s1.addVariable(‘preview’, ‘yourPreview image path goes here’);
..etc
s1.write(‘mediaspace’);
</script>