Replies: 2 comments 16 replies
-
You're welcome @bee911! I'm so glad you like it. VimeoHere are the details I found for Vimeo. I tested with this video. Temporarily adding the word I looked through several videos, and I never found one that had multiple lines in the captions. If there is a video that has multiple lines, I'd like to see it, because I don't think this config will work for it, but it does seem to work fine as long as there is only one line. If you can, take it for a spin and let me know how it goes. HTML Structure<div class="vp-captions opacity-100 color-black" aria-live="assertive" style="font-size: 24px; font-variant: initial; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: rgb(255, 255, 255); text-shadow: none;" lang="en-x-autogenerated" dir="ltr">
<span class="vp-captions-window" style="background-color: rgba(0, 0, 0, 0);">
<span class="vp-captions-line"> of this recliner summertime, you know, what's outside what sun</span> <!-- node -->
</span>
</div> Audio Config{
"vimeo.com": {
"className": "vp-captions-line",
"displaySelector": "div.vp-captions > span.vp-captions-window",
"mode": "element",
"note": "Only tested with single line of caption/subtitle text",
"tagName": "SPAN"
}
} To test this, you can copy-paste this to the "Custom Sites" area found in the extensions Option's page > Audio tab. After pasting it in there, click the blue "Save" button, and then refresh/open a new tab to the video site and give it a try. If it works, I'll go ahead and add it to the official list of supported sites. Microsoft StreamI don't have access to this service, but the details you included are definitely helpful. Unfortunately there isn't quite enough to on on with the screenshot you gave (which is definitely valuable, but doesn't have quite enough information). If you could get the element just above that one it would be helpful. You can probably just play a video with captions, and then use the web developer tools on the elements page, and search for the caption text and then send me a screenshot of the surrounding elements. Really I just need to know the parent, or maybe grandparent of the example node you posted. If you can get that to me I should be able to get a config for you to test. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you very much for this filter. works perfectly with web sites and youtube, amazon, etc. video sites. however, i am unable to get to work with vimeo videos, and don't see vimeo listed under config\audio\supported sites. with closed caption on, advancedprofanityfilter will successfully substitute closed-captioned text found with word i configured (REMOVED) as shown in below image
but it will not mute audio as it does with other supported sites. i have reviewed your doc (Audio Muting: Adding a Custom Site) but unable to find a word in the f12 elements second, and have also attempted 3. Video TextTrack Mode method without success. i am using chrome browser
finally, i am also not able to get it to work with microsoft stream (web.microsoftstream.com) but did find the node as your doc stated as shown below:
would you please let me know how to add filtering for microsoft stream as well? thank you much for help.
Beta Was this translation helpful? Give feedback.
All reactions