新浪的bn_topic.swf究竟是什么?
本主题由 隐藏人物 创建于 2008-4-18 13:59:34先贴两段代码:
代码一:
<object id="" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" height="258" width="303"><param name="movie" value="http://vhead.blog.sina.com.cn/player/bn_topic.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#ffffff"> <param name="allowscriptaccess" value="always"> <param name="allowfullscreen" value="true"> <param name="FlashVars" value="vid=12267326&pid=4&tid=478&auto=1"> <embed name="" src="http://vhead.blog.sina.com.cn/player/bn_topic.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#ffffff" allowscriptaccess="always" allowfullscreen="true" flashvars="vid=12267326&pid=4&tid=478&auto=1" height="258" width="303"></object></div>
<script type="text/javascript" src="http://i3.sinaimg.cn/home/sinaflash.js"></script>
<script language="javascript" type="text/javascript">
<!--//--><![CDATA[//><!--
var FlashPlayer = new sinaFlash("http://vhead.blog.sina.com.cn/player/bn_topic.swf", "", "303", "258", "8", "#ffffff", false,"high","","",true);
FlashPlayer.addParam("allowScriptAccess", "always");
FlashPlayer.addParam("allowFullScreen", "true");
FlashPlayer.addVariable("vid", "12267326");
//FlashPlayer.addVariable("imgurl","http://i2.sinaimg.cn/ty/up/2008-02-16/U2006P6T64D42412F1091DT20080216223535.jpg");
FlashPlayer.addVariable("pid", "4");
FlashPlayer.addVariable("tid", "478");
FlashPlayer.addVariable("auto", "1");
FlashPlayer.write("dplayer");
//--><!]]>
</script>
代码二:
<object id="" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" height="258" width="303"><param name="movie" value="http://vhead.blog.sina.com.cn/player/bn_topic.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#ffffff"> <param name="allowscriptaccess" value="always"> <param name="allowfullscreen" value="true"> <param name="FlashVars" value="vid=12203622&pid=4&tid=478&auto=1"> <embed name="" src="http://vhead.blog.sina.com.cn/player/bn_topic.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#ffffff" allowscriptaccess="always" allowfullscreen="true" flashvars="vid=12203622&pid=4&tid=478&auto=1" height="258" width="303"></object></div>
<script type="text/javascript" src="http://i3.sinaimg.cn/home/sinaflash.js"></script>
<script language="javascript" type="text/javascript">
<!--//--><![CDATA[//><!--
var FlashPlayer = new sinaFlash("http://vhead.blog.sina.com.cn/player/bn_topic.swf", "", "303", "258", "8", "#ffffff", false,"high","","",true);
FlashPlayer.addParam("allowScriptAccess", "always");
FlashPlayer.addParam("allowFullScreen", "true");
FlashPlayer.addVariable("vid", "12203622");
//FlashPlayer.addVariable("imgurl","http://i2.sinaimg.cn/ty/up/2008-02-16/U2006P6T64D42412F1091DT20080216223535.jpg");
FlashPlayer.addVariable("pid", "4");
FlashPlayer.addVariable("tid", "478");
FlashPlayer.addVariable("auto", "1");
FlashPlayer.write("dplayer");
//--><!]]>
</script>
以上代码分别提取于这个地址:
http://www.cisco.com/web/CN/human/hn_learning/index.html
和这个地址:
http://www.cisco.com/web/CN/human/hn_learning/answer.html?para3=no
由于网址上的视频应该会换,所以在不同的时间,大家点进去看到的视频应该不一样。
他们是这两个视频的来源:
后舍男生介绍中国四大古典乐器
http://bbs.geekaa.com/topic/view/667.html
后舍男生带你探寻网络奥秘
[url]http://bbs.geekaa.com/topic/view/668.html[/a]
提取视频,我的办法是找到代码里的swf。
可是我找到的是:
http://vhead.blog.sina.com.cn/player/bn_topic.swf
于是看到这么一个视频:
http://bbs.geekaa.com/topic/view/669.html
但是,这个视频是固定的吗?还是会变。大家看到的是不是Beyond、伊能静、刘德华早年合作的短剧?
还有,有人知道bn_topic.swf是怎么回事吗?
最后顺便一提,为什么我会在firefox小组发?因为上面的代码我是通过firefox的“查看选中部分的源代码”这个功能找到的。IE根本找不到上面提到的bn_topic.swf。firefox这个功能我很喜欢。
放心注册,GeeKaa不会虚耗你半点时间,你只会发现更多乐趣。 | 立即注册 |