PlayTube v2.0.3视频门户网站PHP源码视频上传在线播放网站程序

PlayTube是一套多用户视频上传在线播放视频网站源码,使用这个程序可以轻松创建一个视频兴趣圈,是创建自己的视频共享网站的最佳程序!

伪静态规则可用查看本站之前发布的1.9版本文章中的规则,也可用尝试自己使用官方的伪静态

经多用户反馈说刷新加载很慢的问题,本站将一个外部资源本地化了,初步解决加载特慢的问题,还有大部分资源都是在国外,如果需要本地化请自行解决。

本站提供体验网址:tube.letv.ml

更新日志

5.26 优化加载速度,新增ffmpeg二进制文件

v2.0.3

  • [已修复]视频隐私问题
  • [已修复]视频图像广告倒计时问题。
  • [已修复]自托管视频上的视频
  • [已修复] SQL注入漏洞。
  • [修复]其他小错误

v2.0.2 (2021/03/28)

  • 对PHP 8.0+和MySQL 8.0+的支持
  • 更新S3/Spaces库
  • 修复多个已知重要错误

预览图PlayTube v2.0.3视频门户网站PHP源码视频上传在线播放网站程序 PlayTube v2.0.3视频门户网站PHP源码视频上传在线播放网站程序 PlayTube v2.0.3视频门户网站PHP源码视频上传在线播放网站程序

ninxg伪静态

这个伪静态是我根据我出现的情况修改过的,你们自己试试,不行就用官方的那个。

  1. location / {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;
    rewrite ^/aj/([^/.]+)/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2&second=$3;
    }
    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;
    }
免责申明:
1. 本站所有教程、文章分享目的仅供大家学习和交流,资源连接来自于网络,非本站发布,本站也不存储任何资源!
2. 如有无法查看或链接失效,烦请报告联系管理员处理!
3. 本站无法保证资源质量及其时效性,恕不接受任何提问。
4.本站即不保存任何资源,也不对任何链接作品负责,希望大家赞助本站,费用仅维持本站的日常运营所需!
5. 百码云无法保证文章教程或资源的完善与安全,请自行检测解决。
6. 通过本站收集链接的相关资源,严禁杜绝任何形式的正式商业用途,请前往官方购买。
7. 但凡通过本站链接导航下载的任何作品,虽不归本站所有,但在研究学习的前提下,请务必在下载24小时后删除。
百码云资源站仅提供学习的平台,所有资料均来自于网络,版权归原创者所有!本站不提供任何保证,并不承担任何法律责任,如果对您的版权或者利益造成损害,请提供相应的资质证明,我们将于3个工作日内予以删除。本文章采用BY-NC-SA 4.0 《国际知识共享署名许可协议4.0》 进行许可 。
百码云 » PlayTube v2.0.3视频门户网站PHP源码视频上传在线播放网站程序

提供互联网优质的链接集合站点

关于权限 站内帮助