Coder Social home page Coder Social logo

Comments (8)

Chaphasilor avatar Chaphasilor commented on May 22, 2024 3

Okay, so I just spent a almost two hours investigating, and I have bad news.

tl;dr: Firefox doesn't yet support picture in picture well enough so that we can use it in Zipcall :/

The issue here is twofold:

  1. Firefox is still using their own, proprietary implementation on pip. There is no API for toggling pip, only user gestures (fly-outs, context menus, etc.). That wouldn't be a huge problem of its own, but then there's the second problem:
  2. Their implementation doesn't seem to support more complex video sources, like webcam inputs or WebRTC streams yet. Only 'normal' videos with sources pointing either to a static video file or an m3u8-playlist file are supported. Because of this, we are unable to enable or provide a pip-mode in Firefox for now, it simply isn't possible from what I've found.
    There sadly isn't any official statement about that and very few info in general (aside from a StackOverflow question with negative score, no comments and no answers), so I might be wrong, but I don't think this is worth the effort right now.

Sorry to disappoint you :/

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on May 22, 2024 1

It's not working on Firefox for Desktop? 👀

from decentralized-video-chat.

raksdewji avatar raksdewji commented on May 22, 2024 1

Tested on Linux and Windows and both had no PiP in the context menu.

image

from decentralized-video-chat.

raksdewji avatar raksdewji commented on May 22, 2024

Currently getting this error when trying to toggle PiP
image

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on May 22, 2024

Okay, can you try right-clicking on the other participant's video and seeing if PiP is available through the context menu?

It seems like Firefox hasn't implemented the W3C PiP API yet because it's still a draft, but I'll check later if that is actually still the case!

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on May 22, 2024

Thanks for checking. I'll look into it tomorrow and see what options we have :)

from decentralized-video-chat.

axtux avatar axtux commented on May 22, 2024

Firefox does not support picture in picture the way you could use it but the statement is wrong: Firefox does support picture in picture. I think the message should be updated to something like: Your browser does not support picture in picture for WebRTC streams. And maybe add a link to this issue if Firefox is detected?

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on May 22, 2024

@axtux yeah you're right, the error could be more specific. PRs are welcome ;)

from decentralized-video-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.