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

archive.org item embed #45

Open
evanwill opened this issue Dec 22, 2020 · 6 comments
Open

archive.org item embed #45

evanwill opened this issue Dec 22, 2020 · 6 comments

Comments

@evanwill
Copy link
Contributor

possible addition to template or CSV recipes. Seems like good object hosting option to build in for community projects.

video

<iframe src="https://archive.org/embed/fluxusfireplace" width="640" height="480" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe>

audio

<iframe src="https://archive.org/embed/aladore_1704_librivox" width="500" height="140" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe>

pdf/book

<iframe src="https://archive.org/embed/aladoren00newbuoft" width="560" height="384" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe>
@ers6
Copy link

ers6 commented Oct 31, 2023

I'm also interested in this. I have a project that's going to be way too large to host on any server I have access to, so I've moved all the objects to internet archive. I'd like to be able to embed them on a collection builder page using the archive.org reader.

@evanwill
Copy link
Contributor Author

evanwill commented Nov 1, 2023

@ers6 we haven't built it into the template yet, but it is relatively simple to add in and works really well. For example, I used it in beowulf-s like this embedded reader. It is easiest to implement in collectionbuilder-csv (rather than cb-gh).

Basically, set up your metadata with the full link to the item on archive.org in your "filename" or "object_location" field, then add a custom layout that parses that url to add the reader embed. Feel free to get in touch on email and I can help you set it up.

@kkeramidasrubin
Copy link

Embed is working well, but why does the full-screen icon not appear? Bottom of this page: https://rubinweb.wpenginepowered.com/publications/patron-and-painter-situ-panchen-and-the-revival-of-the-encampment-style/

@evanwill
Copy link
Contributor Author

evanwill commented Sep 6, 2024

@kkeramidasrubin not sure why the full-screen option doesn't show up--nothing to do with the embed code, that is just how archive.org serves it in the iframe. In our collections I have added a "Fullscreen Viewer" link because of that issue, for example, https://www.lib.uidaho.edu/digital/gem/items/uidaho_gem_2002.html

@evanwill
Copy link
Contributor Author

@evanwill
Copy link
Contributor Author

an Internet Archive embed is now added to the item includes ("_includes/item/ia-embed.html") which can be used in custom item layouts. Right now there is not a IA display template--leaving this open for now to see if we want to add one.

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

No branches or pull requests

4 participants
@evanwill @ers6 @kkeramidasrubin and others