Open KxxHyoRim opened 4 months ago
That's annoying. I don't have the advertising plan... So it's going to be hard for me to debug this :/ Are you able to help?
Ideally I would need something that uniquely identifies the ad in the DOM that I can pick up with a mutation observer. I would need you or someone else with the ad plan to help find this.
Currently, the subtitles are synced with the video using the currentTime
property of the video player element. The fact that subs keep playing during the ad tells me the ad is playing in the same video element as the show/movie. We might need to track how long every ad plays, and offset the currentTime by this amount when an ad is detected.
PR welcome. If someone is able to detect the ad, I can help with syncing the subs.
Whenever ads start, a <div>
tag shows up, and then it goes away once the real video starts playing again.
(cf. The word '광고' means 'ads' in Korean.)
Whenever I check out several ads, I've noticed that the class IDs are the same. Hope those IDs in the screenshot can help uniquely identify things for the observer you mentioned!
Hi! First of all, thanks for making this awesome program. I'm one of the users who's been really enjoying using this extension.
So recently, I switched over to the Advertising standard plan, and I ran into this little issue. The thing is, the second subtitle just keeps showing up even when the ads are playing, and it's not syncing up with the main content once the ads are done. So I have to refresh the page every time after the ads. Hope the subtitle can stay in sync with the video 👍
Thanks!