iOS Video Player Done Button - ios

Can I change the iOS video player Done button title to my custom title?
I searched for it but did not find any helpful answer. Any help would be highly appreciated.

An educated guess based on some quick research says - no, you can't. You can create your own video player control however.
The thing is you can't directly control the MPMoviewPlayer view's UIToolbar, therefore, you can't edit it anyhow.

Related

"Unauthorized" overlay on Android YouTube player supported?

I am looking at the Android PlutoTV app and trying to get a similar effect.
Now, just to prove that this video is indeed from YouTube, see the next screenshot:
I would very much appreciate if someone could explain how this overlay effect is obtained notwithstanding youtube's player restrictions.
Kindly help!
Cheers
There are two ways to overlay the Youtube Player:
Using an ActionBar, as described in one of the samples
Using a Dialog or DialogFragment. In this case your view(s) overlaying the player aren't part of the view hierarchy and can't be detected by the youtube player.
EDIT: About 1 vs 2
The first solution is the "official" way to overlay controls/whatever over the Youtube Player. It was difficult for me to use because it simply didn't work after days of trying.
That's why I'm using the second solution, which is technically against the ToS.
But I've just got a small semi-transparent bar at the bottom of the player which disappears after 2 seconds, so I don't think I will have any problem anyway.

URL Visible in UIActivityViewController

I've seen this used in some apps and I can't seem to figure out how it's done - there seems to be nothing to set. When I set the url to share, it doesn't pop up automatically either, and I can't find any reference to it anywhere on the Internet which makes me feel like an idiot. Any possibilities? It's not urgent anyway I'm just curious. Thanks.
Screenshot of iOS Device with the UIActivityViewController visible with the URL bar:
http://twitter.com/SunburstEnzo/status/617736706402484224/photo/1
Edit: I can't believe I need 10 reputation to show you my problem.
There's no built-in way to do this. However, there's a third-party component named JDSActivityVC which enables you to achieve this effect.
It's just a subclass of UIActivityViewController that adds a custom UIView with an UILabel.

Adding custom button to MPMoviePlayerController (fullscreen)

I have a MPMoviePlayerController instance in my iOS app, that plays a local file in fullscreen mode. This all works fine, but now I want to add a custom button to the window for changing the playback speed. We support both iPhone and iPad in all orientations.
I know how to set the playback speed from code (using setCurrentPlaybackRate), but I need to let the user do it while watching the video, which means adding some kind of button to the playback screen next to the existing buttons, e.g. next to "play", "pause", or in the top bar.
By looking on StackOverflow I have found various replies for questions similar but not quite the same, some saying it cannot be done in fullscreen, some saying it can be done (but is very complex) by creating some kind of overlay, effectively replacing the entire overlay with a custom one.
Although, I have yet to find any code examples (apart from a few snippets without context), getting-started style tutorial or similar for this, so any pointers to example code would be greatly appreciated.
maybe this Apple example could help you
https://developer.apple.com/library/ios/samplecode/MoviePlayer_iPhone/Introduction/Intro.html

How to create overlay video like has YouTube application in ios

I'm developing video app and as i see youtube app have feature of this.
I think overlay use by window view but not sure scaling uiview technique. Please guide web or text for me
help me
Yes, I mean like JSA986
I think the question is asking how to imitate the funcionality of YouTubes app, ie dragging the video playing window to the bottom corner of the screen – JSA986

how to change joystick controlls in xna

exactly the title. i need it for my game.
i know how to change controlls on some games trough some programms that do exactly that, but i want to go into options screen, go change controlls, choose whether i will play on joystic or keyboard and then configure my controlls.
i googled but all i found are tutorials on how to use 360's joystick.
i would be SO grateful if anyone could enlighten me with his knowledge.
(i think that this is the first question about that on the internet)
have no code for this, and no idea of how to begin.
thatks for ANY feedback :)
If you mean stuff like invert Y or button remapping, you have to code your own.

Resources