主题 : 视频播放器可以像土豆或者优酷那样的吗? |
级别: 超级版主
|
2# 发表于:2013-11-20 11:37:04 IP:111.206.*.*
V6版本的时候会更换视频播放器,届时可以针对视频播放器插入广告,类似于土豆优酷那样的
|
||
---|---|---|---|
级别: 会元
|
7# 发表于:2013-11-20 14:47:05 IP:61.18.*.*
那播放器怎么应用
[#if content.mediaPath?? && content.mediaType??] <p style="margin: 5px auto; text-align: center">[#if content.mediaType=='FLV'] <object height="500" width="98%" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> <param name="movie" value="/${res}/img/flvplayer.swf" /> <param name="quality" value="high" /> <param name="allowFullScreen" value="true" /> <param name="FlashVars" value="vcastr_file=${content.mediaPath!}&BufferTime=3" /><embed height="500" width="98%" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" flashvars="vcastr_file=${content.mediaPath!}" allowfullscreen="true" src="/${res}/img/flvplayer.swf"></embed></object>[#elseif content.mediaType=='FLASH'] <embed height="500" width="98%" type="application/x-shockwave-flash" quality="high" src="${content.mediaPath}" wmode="transparent" align="center"></embed>[#else] <embed height="500" width="98%" type="video/x-ms-wmv" src="${content.mediaPath}" console="cons" controls="ImageWindow" autostart="true"></embed>[/#if]</p> [/#if]这段代码怎么改 |
||
---|---|---|---|
级别: 状元
|
8# 发表于:2013-11-20 14:50:52 IP:111.206.*.*
播放器代码是要您插入一个播放器引用,具体风格和你播放器引用有关,改代码要你自己去研究
|
||
---|---|---|---|
1
共1页