How to play/open video file embedded with a PDF? - iphone

I have created a PDF viewer on iphone. Currently my app is able to detect links to web pages and buttons for navigation within PDF.
But it unable to play Audio/Video contents embedded with PDF.
I creates custom PDf which has button(link to a local video file) to play video file. But iphone can't play the video. (when I tap on button, it says "NULL file ....")
I want to know is it possible to do? and if anyone have done it please give me a help. It will be a huge help for me.

No it is not possible to play a video inside a PDF,
if you cannot play the video on an iPhone, i would suggest to convert it to a file that the iPhone can play

You can do this by using PSPDFKit.
See documentation. Its best. :)

I was able to play the pdf embedef video not by acobat official app but thru thr drop box app! Wonder why acrobat not providing the function.
https://www.dropbox.com/l/scl/AAAHBU-oAQ0GjIWW4UMzIpTNYwitnWMMfFo
This is the dropbox pdf file with embeded MP4.

Related

Watch video inside a PDF in iPad

I have a video embedded PDF file, I need to open it in an iPad application. But the problem now is the PDF files are readable in the iPad app and the video file is just showing as an image. Can i do something in my code to show the video, I mean something like Media Player framework in my app.
It doesn't work. You will not be able to play the video in pdf. I think embedded media is part of the current PDF spec which Adobe has not released into the open yet. Adobe holds onto the newest most advanced version to make a business case for it's Acrobat Pro line.
That being said you can try converting the .pdf to .html and then inserting the code for a video manually.

video page in iphone

I need this:
will a link to the video file will get me to there when clicked or I need to link to a page and put some code on it?
thanks!
-EDIT-
i tried to link to http://www.lich-t.info/wp-content/themes/suedlich-t/portfolio/2011/Friendscout24_Kissing_Teddy_1.mp4
and this was the result:
what am I missing??
Yes. You can simply link to an MP4 video, and iOS will automatically play it in its QuickTime Player.
No need for any specific HTML page.
Note: Ascertain that your video is encoded properly http://www.google.com/search?q=site:apple.com+encode+video+iPhone

How to make swf file smaller?

I'm trying to capture a video demo of my iPhone app so I can post it on Youtube.
I'm using Jing application (http://www.techsmith.com/jing/) for Mac, and was able to capture a video of the app. However, I looked at the resulting file size and it's 130MB!!! That's huge!
The video is 3:40 mins.
Any tips on how I can make the size of the file smaller, so that I can easily share it and post it on Youtube?
Thanks!!
Make the dimensions smaller, don't have a keyframe as every single frame, change the quality from best to good, same for audio (best to good), change the format. Isn't it kind of strange that you're posting a SWF movie for an iPhone app? Haha, anyway, hope this works!

video playing from pdf file in iphone or ipad

I am developing an application, which is reads a PDF file and displays it in webview now we have videos embedded within pdf, how to play those videos within webview like html5 did.
thanks in advance.
Webview will not detect and play the videos embedded inside the pdf. You have to parse the pdf and get the file stream and play it using MPMoviePlayerController.

iPhone SDK - Play Audio/Video through UIWebView

I want to know if I could play a mp3 file or mp4 (video) file through an UIWebView by loading a simple url request. I have already tried sending the UIWebView to a video link (e.g. http://google.com/blah.mp4) but it will flash a quick QuickTime logo and show a black screen. However in MobileSafari it streams fine. Is there anyway to play a media file through an UIWebView??!
Thanks,
Kevin
Use the HTML5 <audio> tag.
Linda