117 lines
No EOL
5.7 KiB
HTML
117 lines
No EOL
5.7 KiB
HTML
<span class="page_title">JW Player Smart - Plugin</span>
|
|
<p>this plugin will let you customize your jw player player, if its is activated.<br>
|
|
you can set its skin, add custom variables, set its icons and other configurations that are available for player</p>
|
|
<p> </p>
|
|
|
|
|
|
<div class="main_page_div">
|
|
|
|
<form action="" method="post" enctype="multipart/form-data" name="jw_player">
|
|
<fieldset class="fieldset" style="border:none">
|
|
<table width="100%" border="0" cellpadding="2" cellspacing="0" class="block">
|
|
<tr>
|
|
<td colspan="2" valign="top" class="settings_inner_title">Jw Player Options</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="200" valign="top">Auto Play Video</td>
|
|
<td valign="top"><label for="auto_play"></label>
|
|
<select name="auto_play" id="auto_play">
|
|
<option value="yes" {if $jw_smart->configs.auto_play=='yes'} selected{/if}>Yes</option>
|
|
<option value="no" {if $jw_smart->configs.auto_play=='no'} selected{/if}>No</option>
|
|
</select></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Logo Placement</td>
|
|
<td valign="top"><label for="logo_placement"></label>
|
|
<select name="logo_placement" id="logo_placement">
|
|
<option value="top-left"{if $jw_smart->configs.logo_placement=='top-left'} selected{/if}>Top Left</option>
|
|
<option value="top-right"{if $jw_smart->configs.logo_placement=='top-right'} selected{/if}>Top Right</option>
|
|
<option value="bottom-left"{if $jw_smart->configs.logo_placement=='bottom-left'} selected{/if}>Bottom Left</option>
|
|
<option value="bottom-right"{if $jw_smart->configs.logo_placement=='bottom-right'} selected{/if}>Bottom Right</option>
|
|
</select></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"> </td>
|
|
<td valign="top"> </td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td colspan="2" class="settings_inner_title">JW Player Skins</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Choose Skin</td>
|
|
<td valign="top"><label for="jw_skin"></label>
|
|
<select name="jw_skin" id="jw_skin">
|
|
<option>Choose Skin</option>
|
|
{if $jw_smart->skins}
|
|
{foreach from=$jw_smart->skins item=skin}
|
|
<option value="{$skin.file}"
|
|
{if $jw_smart->configs.jw_skin ==$skin.file}selected{/if}>{$skin.name}</option>
|
|
{/foreach}
|
|
{/if}
|
|
</select></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Upload Skin</td>
|
|
<td valign="top"><label for="skin_file"></label>
|
|
<input type="file" name="skin_file" id="skin_file"></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"> </td>
|
|
<td valign="top"> </td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td colspan="2" class="settings_inner_title">JW Player Plugins and Variables</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Plugin Var</td>
|
|
<td valign="top"><label for="plugin_var"></label>
|
|
<input type="text" name="plugin_var" id="plugin_var" value="{$jw_smart->configs.plugin_var|form_val}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Add New Var</td>
|
|
<td valign="top">Name
|
|
<label for="cust_name"></label>
|
|
<input type="text" name="cust_name" id="cust_name">
|
|
Value
|
|
<label for="cust_val"></label>
|
|
<input type="text" name="cust_val" id="cust_val"></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Custom Variables</td>
|
|
<td valign="top">{if $jw_smart->configs.custom_variables}
|
|
<input type="hidden" value="{$jw_smart->configs.custom_variables|form_val}" name="custom_vars" />
|
|
{foreach from=$jw_smart->configs.custom_vars item=vars key=key}
|
|
<label><input type="checkbox" value="yes" name="cust_{$key}" checked> {$key}</label><br>
|
|
{/foreach}{/if}</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"> </td>
|
|
<td valign="top"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" valign="top" class="settings_inner_title">Longtail Video Solution</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Enable Long Tail Ads</td>
|
|
<td valign="top"><select name="longtail_enabled" id="longtail_enabled">
|
|
<option value="yes" {if $jw_smart->configs.longtail_enabled == 'yes'} selected{/if}>Yes</option>
|
|
<option value="no" {if $jw_smart->configs.longtail_enabled == 'no'} selected{/if}>No</option>
|
|
</select></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Long Tail ID</td>
|
|
<td valign="top"><input type="text" name="longtail_id" id="longtail_id" value="{$jw_smart->configs.longtail_id|form_val}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"> </td>
|
|
<td valign="top"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><label for="update"></label>
|
|
<input type="submit" name="update" id="update" value="Submit" class="button"></td>
|
|
<td valign="top"> </td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
</form>
|
|
</div> |