Bug 1768675 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

While we may have PiP captions/subtitles support for YouTube.com, our current YouTube video wrapper does not work with YouTube videos that are embedded via `youtube-no-cookie.com`. A couple places use no-cookie include [khanacademy.org](https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:foundation-algebra/x2f8bb11595b61c86:algebra-overview-history/v/origins-of-algebra?modal=1) and YouTube videos loaded within [DuckDuckGo](https://duckduckgo.com/?q=what+is+youtube+cookie.com&t=h_&pn=1&iax=videos&ia=videos&iai=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUsFCsRbYDyA).

I believe this requires either: a new video wrapper for `youtube-no-cookie.com`, or simply adding `youtube-no-cookie.com` as a new URL pattern [here](https://searchfox.org/mozilla-central/source/browser/extensions/pictureinpicture/data/picture_in_picture_overrides.js#118-123).
While we may have PiP captions/subtitles support for YouTube.com, our current YouTube video wrapper does not work with YouTube videos that are embedded via `youtube-no-cookie.com`. A couple places that use no-cookie include [khanacademy.org](https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:foundation-algebra/x2f8bb11595b61c86:algebra-overview-history/v/origins-of-algebra?modal=1) and YouTube videos loaded within [DuckDuckGo](https://duckduckgo.com/?q=what+is+youtube+cookie.com&t=h_&pn=1&iax=videos&ia=videos&iai=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUsFCsRbYDyA).

I believe this requires either: a new video wrapper for `youtube-no-cookie.com`, or simply adding `youtube-no-cookie.com` as a new URL pattern [here](https://searchfox.org/mozilla-central/source/browser/extensions/pictureinpicture/data/picture_in_picture_overrides.js#118-123).
While we may have PiP captions/subtitles support for YouTube.com, our current YouTube video wrapper does not work with YouTube videos that are embedded via `youtube-no-cookie.com`. A couple places that use no-cookie include [khanacademy.org](https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:foundation-algebra/x2f8bb11595b61c86:algebra-overview-history/v/origins-of-algebra?modal=1) and YouTube videos loaded within [DuckDuckGo](https://duckduckgo.com/?q=what+is+youtube+cookie.com&t=h_&pn=1&iax=videos&ia=videos&iai=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DUsFCsRbYDyA).

Short STR:
1. Watch either video linked above (for duckduckgo, be sure to watch the video within duckduckgo)
2. Enable captions and pip window

Expected result: subtitles/captions should appear on pip window
Actual result: there are no subtitles/captions on the pip window

I believe this requires either: a new video wrapper for `youtube-no-cookie.com`, or simply adding `youtube-no-cookie.com` as a new URL pattern [here](https://searchfox.org/mozilla-central/source/browser/extensions/pictureinpicture/data/picture_in_picture_overrides.js#118-123).

Back to Bug 1768675 Comment 0