苹果CMS调用视频下载地址跟调用播放地址代码差不多,小改即可
{maccms:foreach name="obj.vod_down_list" id="vo"} <div class="ui-box marg" id="downlist_{$key}"> <div class="down-title"> <h2>{$vo.from}-下载</h2><span>[{$vo.player_info.tip}]</span> </div> <div class="video_list fn-clear"> {maccms:foreach name="vo.urls" id="vo2"} <a href="{:mac_url_vod_down($obj,['sid'=>$vo.sid,'nid'=>$vo2.nid])}">{$vo2.title}</a> {/maccms:foreach} </div> </div> {/maccms:foreach}
样式结构可自行修改一下、
本文转载自:精准像素:11px.cn ,感谢作者分享实用知识