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

Didn't show translated subtitles #4

Closed
Titan87zs opened this issue Jun 17, 2023 · 4 comments
Closed

Didn't show translated subtitles #4

Titan87zs opened this issue Jun 17, 2023 · 4 comments

Comments

@Titan87zs
Copy link

When I turn on the extension, only the recognized text is shown, not the translated subtitles

Desktop_2023.mp4
@Titan87zs Titan87zs changed the title Don't show translated subtitles Didn't show translated subtitles Jun 17, 2023
@botbahlul
Copy link
Owner

botbahlul commented Jun 24, 2023

It's working fine here
image

Is GOOGLE TRANSLATE SERVERS BANNED in your country?
Have you installed CORS UNBLOCK CHROME EXTENSION and ACTIVATE IT?

Another thing that I have to tell you is that WEBKITSPEECHRECOGNTION seems have PROBLEM with ENGLISH VOICE. Mostly it will STOP LISTENING AFTER ONE SENTENCE completed (runs fine with other languages). I my self have to turn that listening button to OFF and ON again every time it's stop listening.

You can try my other apps like https://github.com/botbahlul/pyvosklivesubtitle or others (see my Repositories page).

@botbahlul
Copy link
Owner

botbahlul commented Jul 11, 2023

When I turn on the extension, only the recognized text is shown, not the translated subtitles

Desktop_2023.mp4

I think I've found the problem. It looks like their javascript sometimes blocks this extension. There's nothing we can do about it. It's their site, their rules.
If you watch on a streaming site that has no blocking javascript, this extension will run fine on any languages.

@Titan87zs
Copy link
Author

When I turn on the extension, only the recognized text is shown, not the translated subtitles
Desktop_2023.mp4

I think I've found the problem. It looks like their javascript sometimes blocks this extension. There's nothing we can do about it. It's their site, their rules. If you watch on a streaming site that has no blocking javascript, this extension will run fine on any languages.

ummm, but this is a local mp4 file

@botbahlul
Copy link
Owner

botbahlul commented Aug 23, 2023

When I turn on the extension, only the recognized text is shown, not the translated subtitles
Desktop_2023.mp4

I think I've found the problem. It looks like their javascript sometimes blocks this extension. There's nothing we can do about it. It's their site, their rules. If you watch on a streaming site that has no blocking javascript, this extension will run fine on any languages.

ummm, but this is a local mp4 file

AFAIK, in all browsers javascript was restricted to access local files

https://www.google.com/search?q=browser+restrict+javascript+for+local+file&oq=browser+restrict+javascript+for+local+file&aqs=chrome..69i57.15663j0j1&sourceid=chrome&ie=UTF-8

try to create a local http server on your PC, put that mp4 file on it, then run this extension on your local http server

https://www.google.com/search?q=how+to+create+local+http+server&sca_esv=559361602&sxsrf=AB5stBhZrvhBZup0TUUhKM7kgSBjhYlZGQ%3A1692803723956&ei=iyLmZILsOdOS4-EPg_qqkAs&oq=how+to+create+local+htt&gs_lp=Egxnd3Mtd2l6LXNlcnAiF2hvdyB0byBjcmVhdGUgbG9jYWwgaHR0KgIIADIFEAAYgAQyBhAAGBYYHjIGEAAYFhgeMgYQABgWGB4yBhAAGBYYHjIGEAAYFhgeMggQABiKBRiGAzIIEAAYigUYhgMyCBAAGIoFGIYDSMxuUABYhGVwCHgBkAEBmAHLAqABgiWqAQgwLjI3LjMuMbgBA8gBAPgBAcICBxAjGIoFGCfCAgQQIxgnwgIIEAAYigUYkQLCAgsQLhiDARixAxiKBcICERAuGIAEGLEDGIMBGMcBGNEDwgILEAAYgAQYsQMYgwHCAgsQLhiABBixAxiDAcICBxAAGIoFGEPCAggQLhiABBixA8ICCxAAGIoFGLEDGJECwgIKEAAYigUYyQMYQ8ICCBAAGIoFGJIDwgINEAAYigUYsQMYgwEYQ8ICCxAAGIoFGLEDGIMBwgIFEC4YgATCAggQABiABBixA8ICCBAAGIAEGMsBwgIHECMYsQIYJ8ICBxAAGIAEGArCAg0QABiABBixAxiDARgKwgIKEAAYgAQYsQMYCsICCBAuGIAEGMsBwgILEC4YgwEYsQMYgATCAhcQLhiABBjLARiXBRjcBBjeBBjgBNgBAcICChAAGIAEGBQYhwLCAgcQIxiwAhgnwgIHEAAYDRiABMICCBAAGBYYHhgK4gMEGAAgQYgGAboGBggBEAEYFA&sclient=gws-wiz-serp

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