Code Monkey home page Code Monkey logo

Comments (5)

killergerbah avatar killergerbah commented on June 29, 2024

@rtr46 This could happen if the tab is backgrounded (not in focus).

from asbplayer.

rtr46 avatar rtr46 commented on June 29, 2024

@killergerbah i tried it, but it didn't help :(

Here is the video (i hope it's ok to post links, otherwise just feel free to delete it or tell me to do delete):
https://hianime.to/watch/konosuba-gods-blessing-on-this-wonderful-world-3-19108?ep=125147

Here is the srt:
https://jimaku.cc/entry/2835/download/Subarashii%20Sekai%20ni%20Shukufuku%20o%EF%BC%81%203%20-%2010%20%E3%80%8C%E3%81%93%E3%81%AE%E8%BA%AB%E5%8B%9D%E6%89%8B%E3%81%AA%E8%8A%B1%E5%AB%81%E3%81%AB%E7%A5%9D%E7%A6%8F%E3%82%92%EF%BC%81%E3%80%8D%20(AT-X%201280x720%20x264%20AAC).srt

I open the video, drag-and-drop the subtitle, it starts showing and the first couple of lines are copied to clipboard, but then after a few lines the subs still are displayed correctly, but the clipboard doesn't get updated. The video tab is in foreground and focused. I tried it with 3 different clipboard grabber, to make sure they don't do anything weird, causing the issue. I tried fullscreen video and normal video with no difference in result.

from asbplayer.

killergerbah avatar killergerbah commented on June 29, 2024

I believe under certain conditions you need to give explicit permission to the website to automatically copy text to clipboard. So you might have failed to give permissions in the past. For example, after a few seconds on the website I get an in-browser popup like in the screenshot to give clipboard permissions to the website:

image

You can reset any existing permission settings from Chrome settings. Search for something like 'permissions' and you should find it under "site settings."

from asbplayer.

rtr46 avatar rtr46 commented on June 29, 2024

Indeed. I didn't get a popup tough. I can only see a hard to notice clipboard symbol in my url bar:
image

Once i click the icon, i can grant permission and then it works... which is curious, since when i seek to the next subtitle manually, it works even without the permission for a couple of lines.

Either way... for me the problem has been solved. Thanks for the support!

from asbplayer.

killergerbah avatar killergerbah commented on June 29, 2024

Right, it's odd that it works at all without giving permission first. I suspect it has to do with some timing w.r.t. the tab coming into focus / user gesture. Anyway, glad it's working now. This is a great candidate for the FAQ.

from asbplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.