Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtitles are not working with pip #1903

Closed
avelad opened this issue Apr 29, 2019 · 5 comments
Closed

Subtitles are not working with pip #1903

avelad opened this issue Apr 29, 2019 · 5 comments
Labels
status: archived Archived and locked; will not be updated status: infeasible The requested feature is not currently feasible type: external An issue with an external dependency; not our issue; sometimes kept open for tracking

Comments

@avelad
Copy link
Member

avelad commented Apr 29, 2019

Have you read the FAQ and checked for duplicate open issues? Yes

What version of Shaka Player are you using? 2.5.0-beta3

Can you reproduce the issue with our latest release version? Yes

Can you reproduce the issue with the latest code from master? Yes

Are you using the demo app or your own custom app? Demo app

If custom app, can you reproduce the issue using our demo app?

What browser and OS are you using?
Chrome 74, Ubuntu 18.04

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs?

What did you do?

https://v2-5-0-beta3-dot-shaka-player-demo.appspot.com/demo/#asset=https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd;lang=es-ES;build=uncompiled
Load
Select a subtitle
Select PiP option

What did you expect to happen?
Subtitles are shown in the PiP window

What actually happened?

Subtitles are shown in browser tab and the video in the PiP window.
pipissue

Notes:
I think that the problem is related to use a custom textDisplayFactory
Idea, Is it possible switch to SimpleTextDisplayer when the user is in PiP mode?

@theodab
Copy link
Contributor

theodab commented Apr 29, 2019

Chrome PiP mode does not currently support subtitles. See this issue on the chromium bug tracker. So we can't really put captions into the PiP window in any efficient way; until then, I think that keeping the captions in the video element is the best we can do.

@theodab theodab added type: external An issue with an external dependency; not our issue; sometimes kept open for tracking and removed needs triage labels Apr 29, 2019
@ismena
Copy link
Contributor

ismena commented Apr 29, 2019

Ahh, this will be trouble in the future, though (custom displayer + pip) and we'll have to address it once the capability is added.

@joeyparrish
Copy link
Member

I just confirmed that native text display from the browser does not solve this, either. So disabling our custom text display won't help at the moment.

@joeyparrish joeyparrish added the status: infeasible The requested feature is not currently feasible label Apr 29, 2019
@joeyparrish
Copy link
Member

Marking as "infeasible" for now. If the Chrome bug is solved and native text display works with PiP in the future, we could switch to that.

@avelad avelad closed this as completed Apr 30, 2019
@theodab
Copy link
Contributor

theodab commented Apr 30, 2019

The PiP team is also working on PiP mode with arbitrary (potentially non-video) elements. Once that's in, we could enter PiP mode with the video-container div rather than the video div, and we would still be able to use our custom text displayer.

@shaka-project shaka-project locked and limited conversation to collaborators Jun 29, 2019
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated status: infeasible The requested feature is not currently feasible type: external An issue with an external dependency; not our issue; sometimes kept open for tracking
Projects
None yet
Development

No branches or pull requests

5 participants