AVPlayer Picture in Picture tvos - avplayer

Does anyone know how to remove the smaller picture that appears when you pause a AVPlayerViewController?

Related

move image inside imageview getting bounderies

i am working on a app and in 1 option i can load a photo to display when you scroll through items.
The permissions and loading all works fine.
Now my photo is bigger than the imageview so i want that the user can "move" the photo to display the section he/she wants to show.
Again implementing the onTouchListerner and scrolling the photo works fine.
The problem is where to stop the moving of the photo.
I the picture above the grey part is my photo. In my case 2560x1920.
The red part is my imageview (match_parent x 85dp => 1368x255)
I have my scaletype set to CENTER_CROP resulting in a scalefactor of 0.534375
when i scroll in the image ( scrollBy(x,y) ) i can see my Y moves between -390..390 (or close by, hard to see). But that is of course only the case for this specific photo. But no matter which adding/substracting/dividing/... is do i can not seem to find out how the get this limit becuause what is absolutly do not want is the right situation in the picture above.
Does anybody have an idea to figure this out.
I found some (not a lot) examples that are suppose to work but they do not.
Mostly they work by keeping to total somewhere but still having a total is not of much use if you do not no the min/max.
ps. if possible at all (please please) a java example and not kotlin

How do you increase the size of a picture in xamarin app when you click on it, wraplayout

Is it possible to increase the picturesize (get in on the foreground) in my xamarin app? I currently use a wraplayout that i found in this github-repository:https://github.com/xamarin/xamarin-forms-samples/tree/main/UserInterface/CustomLayout/WrapLayout. I edited it, so that my own pictures are shown, but now i would like to enlarge the pictures if i click on them.
Many thanks!

Blender : Some objects disappear when I turn to camera mode (it's not the snapping I think)

OK... here is the thing...
I am modeling a Star Wars Cruiser.. I'm doing pretty fine, but.. whenever I look through the camera, half of my ship disappears ?! Now you might think it's the clipping, but that doesn't make sense, since the clipping is set to 0,1 mtr - 10.000 mtr, which should be more than enough. Besides that, the clipping is the same for both the visible and now disappeared objects...
Does anyone have any clue ?
I also tried to change the Local view to Global view.. but no dice...
Here is a screenshot in not-camera view :
And here is one in camera view : i.imgur.com/XaxAHIN.png
I'm using Blender 2.82
Please let me know if you need more info or even a link to the model...
OK, I got some help from a friend... Joshua Rooijakkers from the Netherlands...
He fixed the problem in seconds...
So ... it WAS the clipping.. the setting was just buried somewhere I didn't look...
Thanks Josh ! :-)
Objects disappear in camera view modeWhile setting up my camera with the camera lock to view option selected, I noticed that on switching on to the camera view, the object had disappeared.
I tried zooming in and out, but that did not work. I exited the camera view and then selected the object in the outliner and then tried zooming in and out and then panning down and adjusting the view in the view port. I could see that the object was now visible and that the camera was positioned below the object. That was because the camera was added wrt to the position of the cursor which was snapped to the world origin. I a sure many would have encountered such issues.
I then selected the camera to ascertain its position. Then by using the grab tool, I moved the camera along the Z axis just above the object and then switched to the camera view and selected the lock camera to
view option to adjust the camera view to the desired position.
This helped me locate my object in the camera view. Do let me know in the comments if there are other ways of dealing with this.

MediaElement.js going white in IE6

I am testing MediaElement.js playing in IE6. It starts off working fine, the video is there, playing, within the Flash player. However, when I mouse over the video, it disappears (goes completely white). If I refresh the browser with the mouse where the video lands, and click into it, I can then interact with the controls a bit, but the full screen button causes it to go white again.
EDIT:
A couple other observations:
The audio continues to play even though the video is white
If I select the video area, I can get a hilight the shape of the video
Right clicking the white video region does not indicate a Flash component is present.
Any idea what is happening?
After playing with the CSS as Paul suggested, it turns out a "position: relative" style on a wrapping the video area was the cause.

Display a PDF across the entire screen in xcode

I have an xcode application that runs on the iPad.
It is a controller that holds a UIWebView object.
The PDF is downloaded from the internet with no problems, I just need the PDF to be displayed all the way across the screen in landscape orientation.
Currently, the PDF only uses the left most half of the screen when it is displayed. I need it to span the entire window.
Thanks for your help
Take care
Tony
In the viewDidLoad event,
I added the line....
webView.scalesPageToFit = YES;
and tht forced it to full screen.... perfect.

Resources