Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amazon prime video can't be translated by Dualsub #404

Closed
Benlee1129 opened this issue Apr 24, 2022 · 33 comments
Closed

Amazon prime video can't be translated by Dualsub #404

Benlee1129 opened this issue Apr 24, 2022 · 33 comments

Comments

@Benlee1129
Copy link

我第一次嘗試使用 Amazon prime video,但無法像在使用其他平台一樣的方式使用Dualsub,想請教是否我疏忽了什麼呢?
因為Dualsub完全支援不到Amazon prime video內建的字幕檔。

先前,我有推薦可支援iMDB TV,它是Amazon prime video 平台的廣告版,與prime video 同一播放器,所以Dualsub有支援Amazon prime video ,就能支援iMDB TV。

@muzuiget
Copy link
Owner

muzuiget commented Apr 26, 2022

这可能两个原因,可能是已知问题 #393

另外原因就是我故意没在 amazon.* 域名上启用,现在仅在地址 https://www.primevideo.com/ 上启用。所以要在 amazon.* 之类的地址上使用 Dualsub,需要手动修改一下扩展,修改一下 manifest.json 文件,把 https://www.amazon.com/* 地址加进去,然后以开发者模式运行,具体讨论见 #357

因为这个 amazon.com 域名很多人都是当成一个购物网站,有很多个人敏感信息,例如地址、信用卡等等。一个视频类扩展申请购物网站会让人怀疑(安装时强制接受),所以干脆不添加了,让用户自己添加。

要真正启用这类域名,需要升级到 Manifest V3 标准才行,见 w3c/webextensions#119

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 26, 2022 via email

@muzuiget
Copy link
Owner

按下 Dualsub 的工具栏图标,弹出的页面是怎么样的,截一下图。

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 26, 2022 via email

@muzuiget
Copy link
Owner

一图胜千言。

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 26, 2022 via email

@muzuiget
Copy link
Owner

打开 amazon.com 的视频页面,然后截一下这个图。

Screenshot_20220426_133551

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 26, 2022 via email

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 26, 2022 via email

@muzuiget
Copy link
Owner

要不然你改错了,

Screenshot_20220426_141208

注意末尾的逗号。

改了后,要点击那个 reload 按钮重新加载。

@muzuiget
Copy link
Owner

Screenshot_20220426_141451

如果有错误,也点开一下看看。

"manifest_version": 2, 这个错误可以忽略。

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 26, 2022 via email

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 27, 2022 via email

@muzuiget
Copy link
Owner

有那么难吗?直接改好的 dualsub-v1.80.1.zip

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 27, 2022 via email

@muzuiget
Copy link
Owner

实际上你应该用桌面 Chrome 测试,然后再用 Kiwi 测试,即使 Kiwi 能使用桌面模式,行为也未必一致。

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 27, 2022 via email

@muzuiget
Copy link
Owner

那个选项无关紧要,那个选项意思是授权扩展访问地址 file:// 的网页而已。

如果你比较商店版,就是 manifest.json 多了一行而已。

"https://www.primevideo.com/*",
"https://www.amazon.com/*", <-- 就加了这行
"https://www.raiplay.it/*",

肯定是你改错了,或者打包回 zip 时错误,把文件夹压缩了,应该是把文件夹内的文件压缩。

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 27, 2022 via email

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 27, 2022 via email

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 28, 2022 via email

@muzuiget
Copy link
Owner

我没有美区 Amazon 账号,无法测试。

你看不同步的视频,是不是有 10 秒钟偏移?现有的代码的就是对某些视频做了 10 秒钟偏移。

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 28, 2022 via email

@muzuiget
Copy link
Owner

试下这个测试版 dualsub-v1.80.1.zip

这个版本同时修复 ARTE 和 Rai Play 的问题。

@Benlee1129
Copy link
Author

Benlee1129 commented Apr 28, 2022 via email

@Benlee1129
Copy link
Author

Raiply都沒有問題了,arte.de 在全屏下,直屏可以看到字幕,橫屏時字幕會被蓋住。

@muzuiget
Copy link
Owner

arte 问题在 #406 讨论,最好附上截图。

@muzuiget
Copy link
Owner

muzuiget commented May 4, 2022

amazon.com 专门发个测试版,见 ##411

@muzuiget muzuiget closed this as completed May 4, 2022
@Benlee1129
Copy link
Author

Benlee1129 commented Oct 11, 2022 via email

@Benlee1129
Copy link
Author

Benlee1129 commented Oct 11, 2022 via email

@Benlee1129
Copy link
Author

Benlee1129 commented Jan 11, 2023 via email

@Benlee1129
Copy link
Author

Benlee1129 commented Jan 18, 2023 via email

@Benlee1129
Copy link
Author

Benlee1129 commented Jan 18, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants