v_alignvideo='bottomleft';
Options are bottomleft, bottomright, bottommiddle, topleft, topright, topmiddle, leftmiddle, rightmiddle, deadcenter, inplace, absolute (requires an element id called "anchor1" in your web page). If you wish to anchor to another element mid-video you can run a javascript function called placevideo(newanchorpoint), with the newanchorpoint referring to any named element on the page.
v_anchorlocation='bottomleft';
If you selected absolute in your video alignment then that means your video will not scroll down the page with you. It will stay in a fixed location next to the element with id "anchor1". Your options here determine if the video will be above, below, to the left or right of your element. So your options are bottomleft, bottomright,topleft, topright
v_padx='0';
This variable is used as an offset pixel amount Options are positive or negative numeric values.
v_pady='0';
This variable is used as an offset pixel amount. Options are positive or negative numeric values.
Sample Code
<script language="JavaScript" type="text/javascript">
v_alignvideo='bottomleft';
v_padx='10';
v_pady='-2';
v_theflv='sample.flv';
v_flvbase='http://www.yoursite.com/videos/';
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" src="http://code.javahd.com/js/sample.js" type="text/JavaScript"></SCRIPT>
Comments
0 comments
Please sign in to leave a comment.