源码介绍:
PlayTube是一个视频分享程序,它能快速的建立一个视频上传、导入、分享的网站,具有多语言、用户管理、广告管理、视频上传、从youtube和vime等网站导入视频等功能。本次发布的是2.2版本,更新包后续发布。
主要功能:
- 上传视频:上传本地视频
- 导入视频:非常简单的从 YouTube、Dailymotion,和 Vimeo 等站点批量导入视频,此功能需要对应网站的API
- 自动导入视频:设置一些关键词并创建导入任务,轻松从 YouTube 和 Dailymotion 导入视频到你的网站
- 高性能:PlayTube 可以轻松的处理超过 1B 的视频
- WoWonder 登录集成:无缝对接 WoWonder 社交系统,可以使用社交系统的帐户授权登入
- 喜欢 & 反感:用户可以对某视频进行喜欢投票
- 评论系统:注册用户可以对视频进行评论
- 订阅/历史/接下来观看:功能也是比较人性化的
- 用户频道: 完整的用户展示页
- 广告系统:可以创建视频、页面的广告,一切都在后台的广告设置里
- 站点地图建立:建立站点地图并自动发送到 Google/Bing
- SEO 友好:搜索引擎优化友好的链接,非常有利于谷歌收录
- 完整的后台:功能完善的后台控制面板
- 漂亮的 UI:非常容易修改而且还很漂亮的模板
安装需求:
- PHP 5.5 or Higher
- MySQLi
- GD Library
- mbstring
- cURL
- allow_url_fopen
安装说明:
解压缩上传Script里的内容到服务器,访问 http://www.yoursite.com/install 按照要求填写每项内容。授权码处请填写 topide.com。
升级方法:
解压缩上传Script里的内容到服务器,覆盖旧文件,然后将scripts目录外的 update.php 上传到服务器,运行 youdomain.tld/update.php 进行升级。
Nginx伪静态规则:
官方给的规则在程序根目录里,nginx.conf。
location / { if (!-e $request_filename){ rewrite ^/$ /index.php?link1=home; } if (!-e $request_filename){ rewrite ^/aj/([^/.]+)/?$ /ajax.php?type=$1&first=$2; } rewrite ^/@([^\/]+)(\/|)$ /index.php?link1=timeline&id=$1; if (!-e $request_filename){ rewrite ^/([^\/]+)(\/|)$ /index.php?link1=$1; } } location /reset { rewrite ^/reset-password/([^\/]+)(\/|)$ /index.php?link1=reset-password&code=$1; } location /confirm { rewrite ^/confirm/(.*)/(.*)$ /index.php?link1=confirm&code=$1&email=$2; } location = /two_factor_login { rewrite ^(.*)$ /index.php?link1=two_factor_login; } location = /two_factor_submit { rewrite ^(.*)$ /index.php?link1=two_factor_submit; } location /v { rewrite ^/v/(.*)$ /index.php?v=$1; } location /api { rewrite ^/api/v(([0-9])([.][0-9]+))(\/|)$ /api.php?v=$1; } location /admin { rewrite ^/admin-cp$ /admincp.php; rewrite ^/admin-cp/(.*)$ /admincp.php?page=$1; } location /admin-cdn/ { alias /admin-panel/; } location /videos { rewrite ^/videos/category/(.*)/rss(\/|)$ /index.php?link1=videos&page=category&id=$1&feed=rss; rewrite ^/videos/category/(.*)/(.*)$ /index.php?link1=videos&page=category&id=$1&sub_id=$2; rewrite ^/videos/category/(.*)$ /index.php?link1=videos&page=category&id=$1; rewrite ^/videos/(.*)/rss(\/|)$ /index.php?link1=videos&page=$1&feed=rss; rewrite ^/videos/(.*)$ /index.php?link1=videos&page=$1; } location /articles { rewrite ^/articles(\/|)$ /index.php?link1=articles; rewrite ^/articles/category/(.*)(\/|)$ /index.php?link1=articles&category_id=$1; rewrite ^/articles/read/(.*)(\/|)$ /index.php?link1=read&id=$1; } location /aj { rewrite ^/aj/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2 last; rewrite ^/aj/([^/.]+)/?$ /ajax.php?type=$1&first=$2 last; rewrite ^/aj/([^/.]+)/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2&second=$3 last; } location /edit { rewrite ^/edit-video/(.*)?$ /index.php?link1=edit-video&id=$1; } location /video_text { rewrite ^/video_text/(.*)?$ /index.php?link1=video_text&id=$1; } location /watch { rewrite ^/watch/([^\/]+)(\/|)?$ /index.php?link1=watch&id=$1; rewrite ^/watch/([^\/]+)/list/([^\/]+)(\/|)?$ /index.php?link1=watch&id=$1&list=$2; } location /embed { rewrite ^/embed/(.*)?$ /index.php?link1=embed&id=$1; } location /resend { rewrite ^/resend/(.*)/(.*)?$ /index.php?link1=resend&id=$1&u_id=$2; } location /redirect { rewrite ^/redirect/(.*)?$ /index.php?link1=redirect&id=$1; } location /settings { rewrite ^/settings/(.*)/(.*)$ /index.php?link1=settings&page=$1&user=$2; rewrite ^/settings/(.*)$ /index.php?link1=settings&page=$1; } location /terms { rewrite ^/terms/([^\/]+)(\/|)$ /index.php?link1=terms&type=$1; } location /go_pro { rewrite ^/go_pro(\/|)$ /index.php?link1=go_pro; } location /ads { rewrite ^/ads(\/|)$ /index.php?link1=ads; rewrite ^/ads/create(\/|)$ /index.php?link1=create_ads; rewrite ^/ads/edit/(\d+)(\/|)$ /index.php?link1=edit_ads&id=$1; rewrite ^/ads/analytics/(\d+)(\/|)$ /index.php?link1=ads_analytics&id=$1; } location /contact { rewrite ^/contact-us(\/|)$ /index.php?link1=contact; } location /messages { rewrite ^/messages/(.*)$ /index.php?link1=messages&id=$1; } location /view_analytics { rewrite ^/view_analytics/(.*)$ /index.php?link1=view_analytics&id=$1; } location /video_studio { rewrite ^/video_studio/(.*)$ /index.php?link1=video_studio; } location = /comments { rewrite ^(.*)$ /index.php?link1=comments; } location = /dashboard { rewrite ^(.*)$ /index.php?link1=dashboard; } location = /popular_channels { rewrite ^(.*)$ /index.php?link1=popular_channels; } location = /create_article { rewrite ^(.*)$ /index.php?link1=create_article; } location = /my_articles { rewrite ^(.*)$ /index.php?link1=my_articles; } location /edit_articles { rewrite ^/edit_articles/(.*)?$ /index.php?link1=edit_articles&id=$1; } location = /age_block { rewrite ^(.*)$ /index.php?link1=age_block; } location /site { rewrite ^/site-pages/(.*)$ /index.php?link1=site-pages&page_name=$1; } location /post { rewrite ^/post/(.*)(\/|)$ /index.php?link1=post&id=$1; } location /edit_activity { rewrite ^/edit_activity/(.*)(\/|)$ /index.php?link1=edit_activity&id=$1; }
文章标题:PlayTube v2.2.1 PHP视频上传分享程序源码
文章链接:https://resource.zyuanzhan.com/7305.html
更新时间:2022年06月09日
✅ 本站资源全部来自互联网收集,仅供用于学习和交流,请勿用于商业用途。
✅ 资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持。
✅ 本站大部分内容均收集于网络!若内容若侵犯到您的权益,请留言至:问题提交,我们将第一时间处理。
✅ 如若发现资源下载链接失效,请留言至:资源补档 处进行反馈,我们将及时处理。
✅ 为了避免不必要的交易纷争,购买前请务必阅读:免责声明。如您介意,请勿下载本站资源!!!