Code Monkey home page Code Monkey logo

Comments (7)

beaufortfrancois avatar beaufortfrancois commented on June 1, 2024 1

Both are truth ;)

In the first one, you simply have to wait for the loadedmetadata event to be fired before requesting Picture-in-Picture. Or you can simply make sure there's something drawn in the canvas. See https://github.com/WICG/picture-in-picture/pull/94/files

In the second one, it is not stable yet but you can enable the experimental chrome://flags/#enable-surfaces-for-videos-ms flag in Chrome Canary to play with MediaStreams.

from picture-in-picture.

vasylnakvasiuk avatar vasylnakvasiuk commented on June 1, 2024

@beaufortfrancois @mounirlamouri could you help, please?

from picture-in-picture.

vasylnakvasiuk avatar vasylnakvasiuk commented on June 1, 2024

@beaufortfrancois thanks a lot. Awesome feature! In "Chrome Canary" this flag really works (however this flag exists in stable Chrome 70, but has no affect).

It's cool feature and open many opportunities for modern web. I wonder, when Google Chrome team plan to launch this for stable version? Any estimates?

from picture-in-picture.

mounirlamouri avatar mounirlamouri commented on June 1, 2024

@vaxXxa we usually don't provide estimates but as you said yourself, the feature is working on Canary so it shouldn't be long until it's enabled in Stable.

from picture-in-picture.

beaufortfrancois avatar beaufortfrancois commented on June 1, 2024

@mounirlamouri message seems to be missing.

@vaxXxa we usually don't provide estimates but as you said yourself, the feature is working on Canary so it shouldn't be long until it's enabled in Stable.

from picture-in-picture.

beaufortfrancois avatar beaufortfrancois commented on June 1, 2024

@mounirlamouri message seems to be missing.

@vaxXxa we usually don't provide estimates but as you said yourself, the feature is working on Canary so it shouldn't be long until it's enabled in Stable.

from picture-in-picture.

beaufortfrancois avatar beaufortfrancois commented on June 1, 2024

@mounirlamouri's message seems to be missing:

@vaxXxa we usually don't provide estimates but as you said yourself, the feature is working on Canary so it shouldn't be long until it's enabled in Stable.

from picture-in-picture.

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.