forcast iframe 及 四款播放器

天气预报代码1
<iframe width="150" height="240" frameborder="0" scrolling="no" src='http://appnews.qq.com/cgi-bin/news_qq_search?city=福州'></iframe>

天气预报代码2
<iframe src="http://weather.265.com/weather.htm" width="168" height="54" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

天气预报代码3
<iframe ID='ifm2' width='189' height='190' align='center' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' scrolling='no' src='http://weather.qq.com/inc/ss258.htm'></iframe>

天气预报代码4
<IFRAME ID='ifm2' width='260' height='70' align='center' marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' scrolling='no' src="http://news.sina.com.cn/iframe/weather/130101.html"></iframe>

天气预报代码5
<iframe width="469" height="218" border="0" align="center" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://appnews.qq.com/cgi-bin/news_weather_search?city=福州" allowTransparency="true"></iframe>

天气预报代码6
<iframe ID='ifm1' width='405' height='332' align='center' marginwidth='0' marginheight='0' hspace='0' vspace='0' FRAMEBORDER='0' scrolling='no' src="http://weather.qq.com/24.htm"></iframe>

天气预报代码7
<iframe width="145" height="130" border="0" align="center" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://minisite.qq.com/Weather/news_new.html" allowTransparency="true"></iframe>

 

 

 

 

 

在线媒体播放--Google Video and YouTube


<object type="application/x-shockwave-flash"  

  data="http://video.google.com/googleplayer.swf? ? 

8755581808731033658"  

  width="400" height="326" id="VideoPlayback"> 

  <param name="movie"  

    value="http://video.google.com/googleplayer.swf? ? 

docId=8755581808731033658" /> 

  <param name="allowScriptAcess" value="sameDomain" /> 

  <param name="quality" value="best" /> 

  <param name="bgcolor" value="#FFFFFF" /> 

  <param name="scale" value="noScale" /> 

  <param name="salign" value="TL" /> 

  <param name="FlashVars" value="playerMode=embedded" />

</object>


其实就是FLASH文件的调用


Windows Media Player 文件


<object type="video/x-ms-wmv"  

  data="http://www.sarahsnotecards.com/catalunyalive/ ? 

fishstore.wmv"  

  width="320" height="260"> 

  <param name="src"  

    value="http://www.sarahsnotecards.com/catalunyalive/ ? 

fishstore.wmv" /> 

  <param name="autostart" value="true" /> 

  <param name="controller" value="true" />  

</object>


上面的代码没有Windows Media Player特有的classid,作者在IE5.5, IE6, IE7, Opera Win/Mac, Firefox Win/Mac, Safari下测试通过。


QuickTime movies 没有 embed 标签


<object classid="clsid:02BF25D5-8C17-4B23-BC80- ? 

D3488ABDDC6B"  

  codebase="http://www.apple.com/qtactivex/qtplugin.cab"  

  width="320" height="260"> 

  <param name="src"  

    value="http://www.sarahsnotecards.com/catalunyalive/ ? 

diables.mov" /> 

  <param name="controller" value="true" /> 

  <param name="autoplay" value="false" /> 

  <!--[if !IE]>--> 

  <object type="video/quicktime"  

    data="http://www.sarahsnotecards.com/catalunyalive/ ? 

diables.mov"  

    width="320" height="260"> 

    <param name="autoplay" value="false" /> 

    <param name="controller" value="true" /> 

  </object> 

  <!--<![endif]--> 

</object> 

posted @ 2010-06-28 15:08  Jamy  阅读(1737)  评论(0编辑  收藏  举报