-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated conditions of detecting video elements
- Loading branch information
1 parent
14b39ca
commit 0e6992b
Showing
3 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export const D_VIDEO_DURATION_ITEMS = 'span.ytp-time-duration'; | ||
export const M_VIDEO_DURATION_ITEMS = 'span.time-second'; | ||
export const SPONSORBLOCKDURATION_ELEM = 'span#sponsorBlockDurationAfterSkips'; | ||
export const VIDEO_CLASSLIST = ['video-stream', 'html5-main-video']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters