I am facing some issue while trying to open video file on QLPreviewcontroller.
While trying to open video file , i just see a thumbnail of video file loaded & dont see any playback controls or any controls. Neither video seems playing nor any audio sound.
I am adding previewcontroller view as subview to a view.
Any thoughts on what could be issue?
Related
on this page, the video at the top of the page does not display an image unlike the video located on the side bar.
When play is pressed, there is no playback problem.
But my visitors may not click on the video thinking it doesn't work.
How can I make it appear?
the original video is here
The javascript code is here
The thumbnail sddefault isn't loading for an unknown reason for video VnWbJbtsyv4. However hqdefault seems to be working. So use https://img.youtube.com/vi/VnWbJbtsyv4/hqdefault.jpg instead of https://img.youtube.com/vi/VnWbJbtsyv4/sddefault.jpg.
I am new to iOS, and am using PageViewController to set up an app with books. I am having a hard time finding any information on setting up sound with each page. How do you add mp3 files into an array using AVFoundation?
You can play a audio file in background usinf AVAudioPlayer u can even play different audio for different page.... Change audio file inside page view controller delegate method, visit this link for more detail info
I am using multiple AVPlayers to display content on my screen and they are all playing video simultaneously.
The issue is that sometimes the avplayer is playing but the avplayerlayer isn't showing anything- all you get is a blank screen. This happens randomly. I don't even know how to debug this.
Has anyone had these same issues with AVPLayers or AVPlayer layers? Can you reference the same alaasset from different players at the same time? I'm guessing that these
I had this issue when the URL video I was trying to play did not have an extension. After I appended mp4 as path extension, the video started to play in the layer.
I have a video file from local server like this.
http://127.0.0.1:8000/media/through_your_eyes/file0.mov
Before I play that video, I need to show image from video inside tableview. Is there an api to show image from video and when I click, it will play automatically?
My current method is I download video file and I extract image from video file. After that, I show inside my tableview. But I guess it is not quite good.
So I am working on a piece of code that helps the user in downloading mp3 files from the UIWebView. So far it has been working perfectly by detecting the last path component of the view's URL. (www.exampledownload.com/file.mp3). But in some cases the absolute URL doesn't finish in .mp3. However the UIWebView knows it is an mp3 and opens it on a MediaPlayer (As shown in the attached screenshots).
I've tested some mp3 download apps out there and they are able to detect the mp3 and download it. I want to know how to detect the file that the WebView is trying to open. The download protocol is already stablished. I just need the actual download URL of this files. I attach some screenshots to make myself more clear.
I've seen other apps in which they modify the default media player, and the webview shows the mediaplayer but with another button besides de normal playback buttons. (The download button) I would like to know also how can this be done. Thanks!
You can intercept the URL in webView:shouldStartLoadWithRequest:navigationType: and check if its an MP3 and return NO and then do whatever you want with the file.