how to save video in ipad simulator - ios-simulator

I want to pick video from photo library using imagePickerController.
but there is no video on my simulator. I know how to load images in simulator but don't know how to load video. Please help.

You will have to drag&drop a .mov file to the simulator. Once you do that, you will see the video and you can save it to the camera roll (with one of the buttons displayed in that screen).
But you won't be able to pick the video in the simulator because there is an error while compressing the video.

Related

Adobe Animate shows white screen before playing external videos

In preview, the FLV playback videos are delayed by a several blank keyframes. I have tried exporting the full project/media and this shows up in the mp4 also. I want to say that there are blank keyframes just after the video has played, but I can't determine if this is the case when the video can only be played in Preview Mode. What could be causing the issue and what is it called?
I have tried exporting the full project/media, expecting that the issue was that the Preview was still buffering the FLV playback, but it shows up in the mp4 also.

Badge Drawable in BrowseFragment doesn't appear on Amazon TV

I've got a BrowseFragment displaying some api-loaded content using the Leanback Support Library. I'm also showing a custom logo in the top right hand corner using the setBadgeDrawable method on the BrowseFragment. This logo is included in the apk in the res folder. It appears as expected on an Android TV emulator, however when I install the binary onto an Amazon Fire TV stick, the logo disappears. All other functionality of the application is identical on Amazon Fire TV.
The image is a PNG and here is how I'm setting it:
setBadgeDrawable(getActivity().getResources().getDrawable(R.drawable.logo));
Any reason why this would be happening? Any help is appreciated. Thanks.
Apparently Amazon Fire TV has a size limit on the image. Once I shrunk the image, worked just fine. Weird.

How to add images to iPhone Simulator?

I have used UIImagePickerController with UIImagePickerControllerSourceTypePhotoLibrary, but it says "No photos".
Where does the simulator get the images from? Where should I copy the images so that they are displayed in the simulator?
Now you can do this easily just by dragging and dropping the images in to Photos app in iPhone Simulator.
Run the simulator
Run Safari on the Simulator
Drag a picture onto Safari running on the Simulator, this opens the image.
Click and hold on the image, or tap on the share icon in the bottom tool bar.
You will get an alert asking if you want to store the image to your phone
If someone gets an error similar to
One or more media items failed to import:
/Users/Username/Desktop/Screenshots/Screen Shot 2021-07-09 at 12.05.29.png: The operation couldn’t be completed. (Cocoa error -1.)
You can try to move the picture to the user's root folder. In my case /Users/Username/Screen Shot 2021-07-09 at 12.05.29.png, and I was able to drag and drop my image from Finder to the simulator.
Open photo on simulator. The gallery will open.
Drag the pic you want into the simulator gallery.
That's it. The pic is now on the gallery.
You can drag files like images or video from your local mac machine to simulator once you open the photos or video list of the iphone.
But make sure you're uploading from Documents folder else it won't get uploaded if you drag files from other folders.

Need video player for ASP.NET(Should Support IE 7.0 + all browser)

I need to implement a video player that should play files(wmv, mpeg, mp4 etc..), I have tried object tag, but it requires media player plugin to play I dont want this kind. Somebody can suggest me.
Thanks in advance.
For playing Video in Website, the users need to download plugin (WMP or any other player). Without the plugin, Video cannot stream or play in browser.

JW player. on click getting a window asking open or save file

I have two applications that play video. in one of them the JWplayer plays the video as it should , and on load, the video plays by itself.Thats what i need exactly
I'm doing the same process with the second application, but the thing is when it loads the player , first of all i cant see the control bar, second it doesnt play the video. and third when i click the play button. it opens a dialog asking me if i want to open or save the file, but this isnt what i need.all i need is to play the video like in the first application.
Why is it behaving like this ?
thanks all
One more thing, the second application is on a machine that hasnt a media player,
does this have any effect on the player.swf ??? I can see the player and the play button thou. but just wondering ...
Check whether your iis has the mime type of the video file you are trying to play.
If not add it as follows,
File extension: .mp4
Mime Type: video/mp4
After that restart iis and browse the site again...
Note: Search for the exact mime type for the file
Hope this will help you...

Resources