I want to know if there is a possible way of playing a LOCAL video file which does not have an extension (eg. ".mp4") using the MPMoviePlayerViewController API.
If I try to play a video file without an extension using that API, it won't play it.
Can I possibly use the file mime-type to notify the MPMoviePlayerViewController of the file type ?
Changing the player API is not an option at the moment.
Related
I have an app where we use OGVKit pod at the moment in order to play/stream webm/ogg/ogv/mov videos (non-local). Now there's the new requirement to be able to play mp4 videos from an URL (non-local) and OGVKit kust supports local playback of mp4 files.
Is there a good library which supports playback of all these video file formats from non-local storage (stream) or do we need to switch between the AVPlayerVoewController/AVPlayerLayer?
I already tried to implement a switch which uses AVPlayerLayer if the file is not webm or ogg which partially worked but I couldn't get the layouting work correctly.
I also tried to search for an appropriate library but haven't found any yet.
Any ideas?
I have integrate Dropbox API (Dropbox API) in my project and want to access only audio files.
Create share links using Dropbox API.
Now, I want to play that song using Jukebox or any audio player from shareable URL.
I have tried multiple links to play using Jukebox, it running fine.
I am facing in only Dropbox shareable link.
The shared links, e.g., from createSharedLinkWithSettings, point to an HTML preview page, and not the file content itself.
If you need the actual file content, e.g., to use it in a media player, you have a few options:
1) Use download(path:rev:overwrite:destination:) to download the file to disk.
2) Use download(path:rev:) to download the file to memory. (Not recommended for large files.)
3) Use getTemporaryLink(path:) to get a temporary link to the file. This may be the best option if you need a URL to give to a media player.
I'm assigned to implement a iphone app that can download video files from a server, and to play that video while the video file is written to the disk; something likes
(Movie player)<--read--[###### iphone flaskdisk ######]<--write---(Downloader)
I know that I would use HTTP video streaming play a remote video stream, but what i need is the video file is saved in flask mem after playing.
Any suggestion?
Thanks
If you know how to play a video from a URL, you can easily play the video while simultaneously download the video on another thread (if you are short on time)...
Alternatively, you can create your own video player that handles this function. Application sin the App Store do already do this (check out any video downloader application)
Thanks!
I am trying to play a video file with the .mov extension. It is not playing the video in my MPMoviePlayerController. I need to play this type of file in my application. Is it possible to play a video file without using MPMoviePlayerController or UIWebView?
Please anyone suggest me in this issue.
Thanks in Advance
I've never used it directly before, but take a look at the AVPlayer Class Reference.
Under the "Overview", you'll see:
You use an AVPlayer object to implement controllers and user
interfaces for single- or multiple-item playback. The multiple-item
case supports advanced behaviors.
If you look at the AV Foundation Programming guide (linked here), you'll see Apple builds the Media Player upon AV foundation.
Is there is a way to invoke a media player in BlackBerry ?
If so, can we also pass a url to the player asking it to open and stream a remote url file?
Are you talking about invoking the standard media application or just embed player in your app?
1)If you want to embed player check this - http://supportforums.blackberry.com/t5/Java-Development/Playing-Audio-in-Your-Application/ta-p/446826
2)If you need to start the standart bb player you can use the Content Handler API(CHAPI). Look around and you will find many tutorials. Basically it works like this: you have a .mp3 file for example and you make request to the blackberry os asking "can anyone handle .mp3 extension" , and if there is an app registerred to handle mp3 you can invoke it automatically and i handles tha fore/background transitions between your app and the mp3 handling app.