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

Update format for .m3u8 A/V IIIF canvas annotation body. #140

Merged
merged 1 commit into from
May 12, 2023

Conversation

mathewjordan
Copy link
Member

@mathewjordan mathewjordan commented May 12, 2023

What does this do?

This update the format property of our IIIF Canvas annotation body for our A/V filesets. If thes annotation.body.type is Sound or Video, then the format will now be application/x-mpegurl. Doing so will help IIIF viewer know better that the resources are HLS streams for .m3u8 playlists.

{
  "id": "https://example.org/whatever.m3u8",
  "type": "Video",
  "format": "application/x-mpegurl",
  "height": 100,
  "width": 100,
  "duration": 360,
}

@mathewjordan mathewjordan requested a review from adamjarling May 12, 2023 19:58
@mathewjordan mathewjordan self-assigned this May 12, 2023
@mathewjordan mathewjordan requested review from mbklein and bmquinn May 12, 2023 20:01
@mathewjordan mathewjordan temporarily deployed to test May 12, 2023 20:08 — with GitHub Actions Inactive
@mbklein
Copy link
Contributor

mbklein commented May 12, 2023

👍 Looks good!

@mathewjordan mathewjordan force-pushed the 3901-iiif-av-mime-format branch from 9173975 to 15dd7c2 Compare May 12, 2023 20:11
@mathewjordan mathewjordan temporarily deployed to test May 12, 2023 20:11 — with GitHub Actions Inactive
@mathewjordan mathewjordan merged commit 678c263 into deploy/staging May 12, 2023
@mathewjordan mathewjordan deleted the 3901-iiif-av-mime-format branch May 12, 2023 20:13
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.

2 participants