作者:hawk
linux 搬家
scp -r /本地目录/ root@目标主机IP:/接受目录/
接受目录需要写入权限
不错的一个播放器暂停广告样式
<div style=”margin:auto; padding-top:70px; width:250px;height:250px;position:relative”>
<a style=”position: absolute; right: 0px; background-color: rgb(238, 238, 238); width: 250px; text-align: center; text-decoration: none; height: 30px; line-height: 30px; top: 286px; color: rgb(255, 0, 0);” href=”javascript:addshow(0)”>
关闭广告
</a>
<a href=”#” target=”_blank”>
<img src=”http://baike.soso.com/p/20090711/20090711101754-314944703.jpg” style=”width:250px;height:216px;”>
</a></div>
jwplayer 播放列表rss格式
<rss version=”2.0″ xmlns:jwplayer=””>
<channel>
<item>
<title>视频名称</title>
<description>视频描述</description>
<jwplayer:image>背景图片</jwplayer:image>
<jwplayer:source file=”视频地址” />
</item>
</channel>
</rss>
php代码
<?php
error_reporting(‘E_ALL’); //不输出错误提示
require_once (“../inc/config.php”);
require_once (“../inc/class.php”);
$dsql = new AppDataBase(app_dbserver, app_dbuser, app_dbpass, app_dbname); //登录数据库
$query = $dsql->query(“SELECT d_playurl FROM mac_vod WHERE d_id = “.$_GET[‘id’]); //查询
$file = mysql_fetch_array($query); // 输出
$url = reset($file);
?>
<?php echo $url ?> //引用