我厌倦了尝试向JW Player 6添加下载按钮
我使用此代码显示视频
我应该怎么做添加它
{elseif $video_data.video_player == "jwplayer"}
<div id="Playerholder">
<noscript>
{$lang.enable_javascript}
</noscript>
<em>{$lang.please_wait}</em>
</div>
{literal}
<script type="text/javascript" src="{/literal}{$smarty.const._URL2}{literal}/players/jwplayer5/jwplayer.js"></script>
<script type='text/javascript'>
var flashvars = {
"flashplayer": "{/literal}{$smarty.const._URL2}{literal}/players/jwplayer5/jwplayer.swf",
"playlist": [{
{/literal}
{if $video_data.source_id == 0}
file: '{$video_data.jw_flashvars.file}',
image: '{$video_data.preview_image}',
streamer: '{$video_data.jw_flashvars.streamer}',
{if $video_data.jw_flashvars.provider != ''} provider: '{$video_data.jw_flashvars.provider}',{/if}
{if $video_data.jw_flashvars.startparam != ''} 'http.startparam': '{$video_data.jw_flashvars.startparam}',{/if}
{if $video_data.jw_flashvars.loadbalance != ''} 'rtmp.loadbalance': '{$video_data.jw_flashvars.loadbalance}',{/if}
{if $video_data.jw_flashvars.subscribe != ''} 'rtmp.subscribe': '{$video_data.jw_flashvars.subscribe}',{/if}
{elseif $video_data.source_id == $_sources.youtube.source_id}
{literal}