Repository navigation
Add video annotation support - #5450
harshavardhana wants to merge 5 commits into
Conversation
|
Before we can close #4376 and continue the work on this here, the author of this commit needs to be amended. See https://stackoverflow.com/questions/750172/change-the-author-of-a-commit-in-git/1320317#1320317 on how to do this. @pramodhkp needs to be stated as the author of this commit. |
a548890 to
2290bb4
Compare
|
Author updated as @pramodhkp |
|
Thank you. Fixes #2787. |
2290bb4 to
00f5452
Compare
There was a problem hiding this comment.
Use warn from src/shared/util.js instead of console.error.
|
Could we show a link to download the video when the browser cannot play the video? Then the user can download the file and play it with vlc if they wish. UI TBD. |
|
The video sometimes can be found on the attachment tab |
19ce390 to
ba74b4f
Compare
There was a problem hiding this comment.
Nit: only use space after the colon, and not before it. This line should read:
'avi': 'video/avi',The same applies on the next two lines as well.
0e29ef9 to
c5c5992
Compare
|
Tested with this example - http://dante.ctan.org/tex-archive/macros/latex/contrib/movie15/doc/overlay-example.pdf While the plugin and video playing still shows up - if i allow the popups it just crashes chrome on OSX. Will be testing on Linux. |
c5c5992 to
84ae57c
Compare
84ae57c to
03686e7
Compare
03686e7 to
9961b72
Compare
|
@timvandermeij What's blocking merging this PR (except rebasing, ping @harshavardhana )? |
|
Nothing big I think. It needs a rebase and testing (unit tests especially). |
9667462 to
173f9a6
Compare
Can you tell me how would i go about adding those unit tests? |
|
I was trying your branch, but what's on github doesn't seem to work with that example pdf--the worker dying on Line 276 in 361fa83 AnnotationFactory missing. Do you have something locally that fixes this?
|
There was a problem hiding this comment.
This change is incorrect. The AnnotationFactory should not be removed (causing the effect that the user above describes), but rather it should be adapted to add a case for Screen and Movie.
|
I played with this some more, and with the |
|
|
|
I've made all the changes discussed above (the |
4b52236 to
635c061
Compare
I pulled in your changes and pushed here. Thank you |
There was a problem hiding this comment.
The changes for these three lines should also be reverted.
|
/botio-linux preview |
From: Bot.io (Linux)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 |
There was a problem hiding this comment.
Thanks to PR #6757 the changes in this file are no longer necessary as types MOVIE and SCREEN are now already available when you rebase this patch.
|
@harshavardhana Are you still working on this? May you please address the review comments and rebase the branch? |
|
Closing as incomplete for the following reasons:
However, we keep the associated issue open and link to this PR from there so that others may use this work as inspiration for a new PR. |
This work is still work in progress, doesn't seem to work for http://acroeng.adobe.com/Test_Files/classic_multimedia//VolvoS40V50-Full.pdf
It does seem like it worked in the beginning, but doesn't seem to work for me.
Rebasing change from pull request #4376 to get some reviews and pitfalls.