You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
13.2.4 Media Clip Objects from PDF32000:2008? If codec is supported by browser, then it will be possible. Could you post link(s) to the existing PDF(s) with embedded videos?
The latest okular on Linux (with the help of libpoppler) also displays the embedded files properly. It would be great to have this support for audio/video in codecs supported by the browser.
Is this even used by anyone? I suppose so, since there's people showing interest, but it sounds like the kind of feature that only serves as an excuse to sell you a newer version of Acrobat, but no one really needs.
I guess the developers will not give this any priority, unless there's proof that more than a handful of people use it in real life. So if someone really wants to see this implemented, the fastest way would be to implement it yourselves, and make a Pull Request. But like Yury said, unless the embedded media happens to be supported by the browser, I don't see it happening.
I often make presentations with latex/beamer with the movie15 package that creates these PDF files. So to me this would be a very nice feature to have. I don't really use acrobat after libpoppler supports it now though :)
Does it means that the first annotation is the actual video data and the second annotation displays it?
How can I get the video binary data and insert it in a video tag?
How can I place the video tag in the right position?
Previous work for this has been done in #4376, which continued in #5450, but both were closed because the solution was not complete. Anyone willing to work on this feature may create a new pull request and perhaps reuse parts of those pull requests.
I recommend to first work on the core layer in src/core/annotation.js: create a new class for video annotations and parse the data to prepare it for the display layer. Make sure that this works as expected and provide unit tests. Then, a second pull request could implement video annotations in the display layer in src/display/annotation_layer.js, which actually makes the annotations appear on the rendered document. Doing it this way, in small chunks, makes implementation, testing and review easier than if it were done in one big pull request.
In my opinion this should work with the HTML5 <video> tag as much as possible.
can anyone help me with the architecture of PDF.js . I'm working on project so if anyone can help me with the architecture of this project. it will be nice of you.
Just coming by to say that such feature (playing any kind of video / gif on a pdf) is one of the reasons why a lot of academics keep using Adobe (we often want / need to show dynamic experiments in our classes / research talks).
Activity
yurydelendik commentedon Feb 23, 2013
13.2.4 Media Clip Objects from PDF32000:2008? If codec is supported by browser, then it will be possible. Could you post link(s) to the existing PDF(s) with embedded videos?
count0 commentedon Feb 23, 2013
Here is an example: http://dante.ctan.org/tex-archive/macros/latex/contrib/movie15/doc/overlay-example.pdf
saebekassebil commentedon Apr 7, 2013
There's no video showing in both Preview and the Chrome PDF Viewer.
count0 commentedon Apr 7, 2013
AFAIK video support only works with Acrobat Reader in windows, perhaps also in MacOS but I'm not sure.
happyalu commentedon May 18, 2013
The latest okular on Linux (with the help of libpoppler) also displays the embedded files properly. It would be great to have this support for audio/video in codecs supported by the browser.
gigaherz commentedon May 18, 2013
Is this even used by anyone? I suppose so, since there's people showing interest, but it sounds like the kind of feature that only serves as an excuse to sell you a newer version of Acrobat, but no one really needs.
I guess the developers will not give this any priority, unless there's proof that more than a handful of people use it in real life. So if someone really wants to see this implemented, the fastest way would be to implement it yourselves, and make a Pull Request. But like Yury said, unless the embedded media happens to be supported by the browser, I don't see it happening.
happyalu commentedon May 18, 2013
I often make presentations with latex/beamer with the movie15 package that creates these PDF files. So to me this would be a very nice feature to have. I don't really use acrobat after libpoppler supports it now though :)
count0 commentedon May 18, 2013
Yes, I agree with happyalu. Embedded videos in presentations is also what I had in mind. I do think it would be a very useful feature.
Lekensteyn commentedon Sep 9, 2013
Our lecturer gives us a PDF presentation which contains embedded video, but Okular does not support this. The PDF was created with Adobe PDFMaker 10.1 for PowerPoint.
According to https://bugs.kde.org/show_bug.cgi?id=311457 (not my bug/file), Adobe embeds Flash (!!) in the PDF.
benbro commentedon Jan 2, 2014
I've uncompressed the example in #2787 (comment)
pdftk overlay-example.pdf output doc.unc.pdf uncompress
http://pastebin.com/M7CSvg0Q
I've added a console message
https://github.com/mozilla/pdf.js/blob/master/src/shared/annotation.js#L253
And got from the first page:
Does it means that the first annotation is the actual video data and the second annotation displays it?
How can I get the video binary data and insert it in a video tag?
How can I place the video tag in the right position?
yurydelendik commentedon Feb 26, 2014
Screen has something:
yurydelendik commentedon Feb 28, 2014
more goodies http://acroeng.adobe.com/wp/?page_id=61
fbender commentedon Nov 16, 2015
Fixed by #5450
pablofiumara commentedon Jun 22, 2016
@yurydelendik Unfortunately, the link does not work anymore. Here you can see the archived version but I am unable to download the pdf files :https://web.archive.org/web/20150228104639/http://acroeng.adobe.com/wp/?page_id=61
timvandermeij commentedon Sep 11, 2016
Previous work for this has been done in #4376, which continued in #5450, but both were closed because the solution was not complete. Anyone willing to work on this feature may create a new pull request and perhaps reuse parts of those pull requests.
I recommend to first work on the core layer in
src/core/annotation.js: create a new class for video annotations and parse the data to prepare it for the display layer. Make sure that this works as expected and provide unit tests. Then, a second pull request could implement video annotations in the display layer insrc/display/annotation_layer.js, which actually makes the annotations appear on the rendered document. Doing it this way, in small chunks, makes implementation, testing and review easier than if it were done in one big pull request.In my opinion this should work with the HTML5
<video>tag as much as possible.AliSubhan commentedon May 16, 2018
can anyone help me with the architecture of PDF.js . I'm working on project so if anyone can help me with the architecture of this project. it will be nice of you.
Guillaume-Garrigos commentedon Jun 12, 2026
Just coming by to say that such feature (playing any kind of video / gif on a pdf) is one of the reasons why a lot of academics keep using Adobe (we often want / need to show dynamic experiments in our classes / research talks).
Add support for RichMedia annotations
Add support for RichMedia annotations
Add support for RichMedia annotations
Add support for Screen annotations playing embedded media