Comments (7)
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.
@beaufortfrancois @mounirlamouri could you help, please?
from picture-in-picture.
@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.
@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.
@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.
@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.
@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)
- Multiple picture-in-picture. HOT 7
- disablePictureInPicture interoperability HOT 34
- leavepictureinpicture event should be fired with the Picture-in-Picture window HOT 4
- Remove monkey patch sections HOT 5
- Add progress bar and allow to control it in PiP HOT 4
- Adjust Volume HOT 3
- im am so sorry HOT 1
- Default size of Picture in Picture HOT 2
- No options to change default position for picture in picture window HOT 2
- No option to change PiP window shape HOT 1
- PiP resize window not working on linux HOT 1
- Picture in Picture with getUserMedia on iPhone Safari HOT 2
- Clicking anywhere except on control should toggle playback HOT 1
- How to determine the correct video size? HOT 1
- Simultaneous Video and Canvas PIP HOT 2
- Type Error video.requestPictureInPicture is not a function in Cordova android and iOS app HOT 1
- CSS-styling vs. respecting <video> element styles for PiP (Firefox → the latter, Webkit → ??) HOT 1
- Page Visibility spec has been merged into HTML HOT 1
- Candidate Recommendation tracking issue
- Extend PiP standard to non-video content types HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picture-in-picture.