- function LoadFlash(url,wmode,width,Height,param)
- {
- document.write(
- '<embed src="' + url + '" FlashVars="'+param+'" wmode=' + wmode +
- ' quality="high" pluginspage=http://www.macromedia.com/go/getflashplayer type="application/x-shockwave-flash" width="' + width +
- '" height="' + Height + '"></embed>');
- }
- <script src="http://localhost/ks_inc/loadflash.js" type="text/javascript"></script>
- <script language="JavaScript" type="text/javascript">
- <!--
- var focus_width=309;
- var focus_height=220;
- var text_height=0;
- var pics='http://localhost/UploadFiles/2011-07/admin/2011072919521143244.jpg|http://localhost/UploadFiles/2011-07/admin/2011072919512160547.jpg|http://localhost/UploadFiles/2011-07/admin/2011072919491481898.jpg|http://localhost/UploadFiles/2011-07/admin/201107291947249907.jpg|http://localhost/UploadFiles/2011-07/admin/2011072919414484452.jpg';
- var links=escape('http://localhost/Item/Show.asp?m=1&d=1180|http://localhost/Item/Show.asp?m=1&d=1179|http://localhost/Item/Show.asp?m=1&d=1178|http://localhost/Item/Show.asp?m=1&d=1177|http://localhost/Item/Show.asp?m=1&d=1176');
- var texts='交通安全宣传|建设城市,延续生命|保民平安出行|今天出警工作情况统计|交通安全宣传资料';
- LoadFlash('http://localhost/KS_Inc/Slideviewer.swf','transparent',focus_width,focus_height+text_height,'pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height);
- //-->
- </script>
-----------------以上是科讯V7.X标签内容----------以下是添加的视频代码-------------------
- <object type="application/x-shockwave-flash" data="{$GetInstallDir}flvPlayer/vcastr3.swf" width="253" height="156" id="vcastr3">
- <param name="movie" value="{$GetInstallDir}flvPlayer/vcastr3.swf"/>
- <param name="allowFullScreen" value="true" />
- <param name="FlashVars" value="xml=
- {vcastr}
- {channel}
- {item}
- {source}{$GetInstallDir}uploadfiles/2011-07/admin/2011072819233262282.flv{/source}
- {/item}
- {/channel}
- {/vcastr}"/>
- </object>
-------------------------------------------------------------
问题:添加的视频代码在科讯V7.X标签内容之后,就不能正常显示。