Comments (11)
@bkniffler Having only briefly looked at the link you posted: I probably could. I wasn't aware it was a thing (because I'm only barely a macOS dev at this point; my bread and butter is iOS).
I will look into it further and see if it's something I can use.
from macos-netflix.
Would that be possible? I've tried some PiP extensions but they never work with Netflix. Unsure if Netflix wants it supported, for unknown reasons.
from macos-netflix.
@MaxHasADHD Only that I haven't had the opportunity to look into implementing it, as I've been swamped with other work.
from macos-netflix.
PiP is technically possible, Netflix doesnโt really do anything to prevent it other than not provide a button (and disable right clicking in general).
@BenRiceM If I was able to get the appโs window to float between spaces, would that satisfy your PiP needs?
from macos-netflix.
@MaxHasADHD I've tried two picture-in-picture Safari extensions/apps over the past few years. After using each extension for a while, Netflix eventually stopped working correctly sometime in the Fall of 2017.
See similar issues for PiPifier and PiedPiPer.
from macos-netflix.
@ToniWonKanobi I used PiedPiPer for a while, it's still installed on my system. Doesn't work for Netflix at all any more, and only occasionally for YouTube.
That said, I've taken to more direct developer-y work arounds: for Netflix, disabling javascript, right clicking to switch to PiP, and then quickly re-enabling javascript will work. Similarly, right clicking a YouTube video, then right clicking again while the custom menu is open will allow you to switch to PiP.
There's always a way, but futzing too much with Netflix's UI is an infinite quest. They'll inevitably change something and whatever customisation you made (like injecting a PiP button) will stop working.
from macos-netflix.
That said, I've taken to more direct developer-y work arounds: for Netflix, disabling javascript, right clicking to switch to PiP, and then quickly re-enabling javascript will work.
@jellybeansoup Toggling JavaScript!? What has this world come to
There's always a way, but futzing too much with Netflix's UI is an infinite quest. They'll inevitably change something and whatever customisation you made (like injecting a PiP button) will stop working.
Tell me about it. I have a custom stylesheet in Safari, and between Netflix and YouTube, it's so difficult to try and target things with class
's and id
's because they're dynamically generated and stuff
from macos-netflix.
There's still some work to do on this before I'd consider it release-worthy, but I've started adding support for a proper PiP-style floating behaviour. This commit should allow it to float above fullscreen apps, and between spaces, but the behaviour is slightly jarring (it's not a smooth transition, just an immediate jump), and it introduces other problems (can't fullscreen).
I'll work on resolving these, and in the meantime, you can build directly from the floating-behaviour branch to get it right now (or to assist with its development).
from macos-netflix.
I'm not a MacOS/swift dev, but why can't you use the native picture in picture functionality of MacOS as used in https://github.com/avaidyam/PIP-Demo/blob/master/piptest/ViewController.swift
from macos-netflix.
Any update on this?
from macos-netflix.
Many months later, and I've (finally) been able to investigate potentially using the private PIPViewController
class (and the various other related classes that power its behaviour). Unfortunately, the overall issue is that this class is very specifically built to accomodate video, which Is somewhat redundant for this project's needs: if I wanted to pop the videos out of the interface, I could use javascript to do so in a similar way to how some Safari extensions handle it, and it's doesn't appear possible to actually render the app itself within such a window due to its presentation requirements.
Thanks again to @bkniffler for the suggestion
I'm (slowly) continuing work on achieving the desired behaviour via a custom implementation; all the progress I make on this will be reflected in the floating-behaviour branch.
from macos-netflix.
Related Issues (20)
- Closing window leaves user unable to reopen window without restarting app HOT 4
- Not working ? HOT 1
- Error S7355 HOT 2
- Feature Request: make title bar black HOT 1
- Keep in front in full screen HOT 2
- Logging in cursor in the text field is huge HOT 1
- Download still contains 1.0.3 instead of 1.0.4 HOT 3
- Click and Drag `Window Body` (Not Just `Title Bar`) to Move Window HOT 4
- Video not visible HOT 1
- Amazon video? HOT 1
- Needs Microsoft Silverlight
- Possibility to put this app below others apps. HOT 1
- Can I download shows ? HOT 2
- Netflix Home tab does not show images HOT 1
- Maximizing Window with `Snap to Corners` Option On Causes Issues HOT 2
- Support full screen mode
- Minimum window size too big HOT 4
- Would love to see a YouTube TV and Hulu versions, or switcher within this app HOT 1
- Display Error HOT 2
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 macos-netflix.