Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added padding code for videos #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

added padding code for videos #117

wants to merge 1 commit into from

Conversation

clayshieh
Copy link
Collaborator

Adds 5% of video width and height to player-screen and offset is accounted for during the submit workflow. Offset correction code could've been added in the annotation.js/updateKeyframe() instead. @antingshen please decide where you'd prefer the offset code. The only difference with having the offset code in the submit workflow is that if someone is debugging using the chrome inspector and looking at the annotations then it won't be relative to the video but the reason I put it in the submit workflow instead is because for some reason either django or chrome is caching annotation.js so that debugging is difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant