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

Video/media: add metadata to modals #116

Merged
merged 10 commits into from
Oct 20, 2020
Merged

Video/media: add metadata to modals #116

merged 10 commits into from
Oct 20, 2020

Conversation

abettermap
Copy link
Contributor

@abettermap abettermap commented Oct 15, 2020

Closes #72

@abettermap
Copy link
Contributor Author

@rperlin-ela

The metadata (and embed from before) are wired up for individual YouTube vids if you want to test it out: http://deploy-preview-116--languagemapping.netlify.app/

YT playlists and Archive are all kinds of broken but I'm not stuck, just spent for the night, I should be able to wrap it up tomorrow though.

Internet Archive audio files can be used in a web player inside an
<iframe>, so no reason to support <audio> anymore. Especially since the
old `wav`-only download URL also works in an iframe (at least in Google
Chrome, which was all that was tested). Who knew?
- Improve error reporting to Sentry with more descriptive tags,
messages, and environments.
- Gently let the user know that their video world fell apart via simple
UI component.
- Use Netlify config env variables to set Sentry environment so that
local (Jason) vs. deploy vs. production can be differentiated.

Error scenarios covered:

1. Incorrect URL format from the data (needs to be YouTube playlist,
embed, or Internet Archive embed)
2. Format was fine but no video/embed/etc. was found
3. General fetch failure catch-all
@abettermap abettermap changed the title WIP: init video meta Video/media: add metadata to modals Oct 20, 2020
@abettermap
Copy link
Contributor Author

Ross-

here's most recent deploy (same url): https://deploy-preview-116--languagemapping.netlify.app/

let me know if i missed anything in here or #72

- Remove HTML support for descriptions (see comment in code)
- Correct playlist URLs (YT vids can't have "playlist" in them")
- Remove "(playlist)" from playlist modal titles
@abettermap
Copy link
Contributor Author

@rperlin-ela
Copy link
Collaborator

rperlin-ela commented Oct 20, 2020 via email

@abettermap abettermap mentioned this pull request Oct 20, 2020
6 tasks
@abettermap abettermap merged commit c39eb3c into master Oct 20, 2020
@abettermap abettermap deleted the 72.media-meta branch October 20, 2020 22:26
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.

Add audio/video metadata
2 participants