detail_side_video.html 1.67 KB
<script id="side-video-tpl" type="x-tmpl-mustache">
\{{# video}}
<div class="side-video">
    <div class="video-area">
        <object width="100%" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
            <param name="movie" value="http://cmsres.test.yoho.cn/res/new/girls/assets/swf/util/VideoPlayerSmall.swf?url=\{{video}}&amp;language=\{{language}}&amp;title1=【Yoho!Boys】\{{title}}\{{subtitle}}&amp;shareurl=\{{link}}&amp;sharepic=\{{cover}}&amp;coverpic=\{{cover}}">
            <param name="quality" value="high">
            <param name="bgcolor" value="#ffffff">
            <param value="true" name="allowFullScreen">
            <param name="allowScriptAccess" value="always">
            <param name="wmode" value="transparent">
            <embed align="middle" width="100%" src="http://cmsres.test.yoho.cn/res/new/girls/assets/swf/util/VideoPlayerSmall.swf?url=\{{video}}&amp;language=\{{language}}&amp;title1=【Yoho!Boys】\{{title}}\{{subtitle}}&amp;shareurl=\{{link}}&amp;shareurl=\{{link}}&amp;sharepic=\{{cover}}&amp;coverpic=\{{cover}}" name="vMessage" wmode="transparent" quality="high" bgcolor="#ffffff" play="true" loop="false" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" id="flash">
        </object>
        <video id="side-video-ipad" style="display:none;" controls="controls" preload="auto" poster="\{{cover}}"><source src="\{{video}}" type="video/mp4"></video>
    </div>
    <a href="\{{link}};">
        <h3>\{{title}}</h3>
        <p>\{{subtitle}}</p>
    </a>
</div>
\{{/ video}}
</script>