本帖最后由 zdhxiong 于 2011-1-10 13:11 编辑
在supesite中插入优酷的flash视频,一点全屏按钮就跳到优酷的网站上去了,为了让能在自己的网站上全屏,我把\include\js目录下的commom.js文件的播放器代码改了一下,下面红色的是我自己加上去的
case "showflash":
mediaStr="<object codeBase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' classid='clsid27CDB6E-AE6D-11cf-96B8-444553540000' width='520' height='390'><param name='movie' value='"+smFile+"'><param name='quality' value='high'><param name='AllowScriptAccess' value='always'><embed src='"+smFile+"' quality='high' allowfullscreen='true' flashvars='isShowRelatedVideo=false&showAd=0&show_pre=1&show_next=1&isAutoPlay=ture&isDebug=false&UserID=&winType=interior&playMovie=true&MMControl=false&MMout=false&RecordCode=1001,1002,1003,1004,1005,1006,2001,3001,3002,3003,3004,3005,3007,3008,9999' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='520' height='390'></embed></OBJECT>";
这样改了之后再firefox下确实能全屏了,但是在ie下还是不能全屏,点全屏按钮就跳到了优酷的网站,请问高手们怎么样才能在所有浏览器下都能全屏呢?
|