Hello,
At the moment I try to add a Button to an AVPlayer. From the documentation it isn't clear to me how you can do this.
Here is an example what I mean:
The apple developer app has this copy button. But it isn't clear to me how to add one by reading just the documentation. It is clearly an AVPlayer and not a custom controller implementation, because a vanilla player looks nearly the same:
Any idea how to archive this without implementing a controller ui by myself? I just want to add a way to adjust video quality without reinventing the wheel.
~Nils
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
Hi,
I am currently in the process of writing a fskit extension. My goal is it to implement something similar like unionfs/mergerfs with fskit. For this to work my extension requires access to a set of user provided file paths. I use FSGenericURLResource with query parameters for this. But the sandbox restrictions make this impossible.
This is why I tried to implement a privileged helper, but this makes it even more complicated and slower. Is there a way to disable the sandbox restrictions for the extension? I don't plan any app store publishing which makes this even more frustrating. When I remove the sandbox entitlement, I can't load the plugin with pluginkit -a anymore. Or is there any other recommend way, except a privileged helper?
Another question I have on my mind: How to write proper tests for an fskit extension? You can load the extension via pluginkit -a and also remove it, but you can't enable it in the system panel. I have no idea how to build automatic tests with this restriction.
Lovely greetings,
Nils