[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3396: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3397: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
长途大巴 • 阅读主题 - 转载视频或flash的办法

转载视频或flash的办法

转载视频或flash的办法

帖子yijun 在 01 Jan 2008, 09:07

在大巴转载视频或flash还是不那么直接,仔细举例说一下:
现在的视频一般都是采用flash的播放器,所以就等于是转载flash,都提供了供转载而使用的代码,例如下面这个,是wuzhideren给大家分享的一首歌,找到它提供的用来嵌入播放器的html代码,一般的视频网站都提供的,复制出来,就是下面这段代码:

[quote]<object width="400" height="300"><param name="movie" value="http://www.tudou.com/v/91p9yERqigs"></param><param name="allowScriptAccess" value="always"></param><param name="wmode" value="transparent"></param><embed src="http://www.tudou.com/v/91p9yERqigs" type="application/x-shockwave-flash" width="400" height="300" allowFullScreen="true" wmode="transparent" allowScriptAccess="always"></embed></object>
[/quote]
这样一堆,我们有用的只有两个地方:
1,width="400" height="300",这是说这个falsh的宽和高的尺寸,用来写在大巴的引用格式"flash=400,300"里面,注意在大巴这个是得用中括号括起来的,两个数字之间得用英文输入法的逗号。
2,src="http://www.tudou.com/v/91p9yERqigs",这个是flash真正的文件地址,用来写在大巴引用格式的那一对中括号之间的。

技巧:如果是视频,1里面的长宽数值,可以适当成比例地增大,使得小电视屏幕大一些。
yijun
Site Admin
 
帖子: 4448
加入: 10 Feb 2007, 02:16
地区: 北京

Re: 转载视频或flash的办法

帖子Wuzhideren 在 02 Jan 2008, 08:37

恩,我明白为什么我引用的显示不出来了,我试过了各种方法,就是没注意要按照所引用的视频的“300, 400”的比例来。
我以为播放器是可以任由我自己拉伸的,没想到不是矢量的。。。
Wuzhideren
 
帖子: 681
加入: 13 Feb 2007, 23:09
地区: 北京


回到 站务管理


谁在线

本版乘客: 没注册乘客 和 0 路人

cron