Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Web System
>
BBS
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
901
Star
3.8K
Fork
1.5K
Discuz
/
DiscuzX
Code
Issues
114
Pull Requests
0
Wiki
Insights
Pipelines
Service
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
1289
[Lightweight PR]: 修复 西瓜视频在移动端无法正常解析播放的问题
Merged
N/A
Discuz:master
popcorner
create on 2021-09-22 22:07
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
### **描述此 Pull Request 的变更** 修复 西瓜视频在移动端无法正常解析播放的问题 ### **描述变更理由** 这本质上其实是西瓜视频的bug。 西瓜视频的外链是这样的: `https://www.ixigua.com/iframe/一串数字?autoplay=0` 其中后面的autoplay参数非必须,去掉了也可以正常播放。 而当网页检测到是移动端则会从上面的网址跳转到如下地址: `https://www.ixigua.com/embed/?autoplay=0&group_id=一串数字` 但如果我们不给它autoplay参数,它的跳转地址就变成了 `https://www.ixigua.com/embed/&group_id=一串数字` 然后就报错了,从外观上看,很显然,这地址就有问题。 把其中的`&`替换为`?`,就能正常播放了。 可是Discuz层面并不能这么去兼容它的这个bug,那没办法就只能把autoplay参数给加回来才能保证正常播放。 ### **对不向前兼容或涉及安全性变更的特殊说明** ### **关联 Issue** #I4BEDZ
This pull request needs to pass some approval items
Type
Assign personnel
Status
Reviewer
湖中沉
Pass review
DiscuzX
LooTan
Discuz!
Completed
(1/1 )
How to merge Pull Request
git checkout master
git pull https://gitee.com/Discuz/DiscuzX.git N/A
git push origin master
Comments
0
Commits
1
Files
1
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
oldhuhu
forkmerge
comsenz-service
comsenz-service
奶罩
naizhao
老周部落
laozhoubuluo
popcorner
popcorner
Discuz
dismall
北北″
moxue
Hyman
guohui1301
云诺
yunnuowangluo
科站网
dzlab
monkeye
Discuzx
DiscuzX
3dming
LooTan
lootan
湖中沉
zoewho
Discuz!
ComsenzDiscuz
No Setting
Min number
1
Tester
oldhuhu
forkmerge
comsenz-service
comsenz-service
奶罩
naizhao
老周部落
laozhoubuluo
popcorner
popcorner
Discuz
dismall
北北″
moxue
Hyman
guohui1301
云诺
yunnuowangluo
科站网
dzlab
monkeye
Discuzx
DiscuzX
3dming
LooTan
lootan
湖中沉
zoewho
No Setting
Min number
0
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
Label settings
No Setting
Link Issue
I4BEDZ
西瓜 视频 解析在触 屏版里面失效了
Successfully merged pull requests will close issues
Milestone
No related milestones
Participators
(1)
PHP
1
https://gitee.com/Discuz/DiscuzX.git
git@gitee.com:Discuz/DiscuzX.git
Discuz
DiscuzX
DiscuzX
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register