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

Remote video media not showing up at /node/XXX/media/add #1552

Open
mjordan opened this issue Jun 25, 2020 · 5 comments
Open

Remote video media not showing up at /node/XXX/media/add #1552

mjordan opened this issue Jun 25, 2020 · 5 comments
Labels
Type: documentation provides documentation or asks for documentation. Type: enhancement Identifies work on an enhancement to the Islandora codebase

Comments

@mjordan
Copy link
Contributor

mjordan commented Jun 25, 2020

The media list when I go to /node/1/media/add, "Remote video" is not showing up in the list of media types, yet when I go to /media/add, it does. Why is that?

@mjordan
Copy link
Contributor Author

mjordan commented Jun 25, 2020

And just noticed that the core Remote video media type is specific to YouTube and Vimeo. I am asking for a friend who wants to know how they can embed video hosted on their university's large-scale storage (way too much of it to host in the Islandora repo) or in their university's streaming service. A friend.

@seth-shaw-unlv
Copy link
Contributor

  1. I think this is something of Islandora's doing. Perhaps we limit it to Media that have field_media_of (which we don't currently add to the Remote Video media type) since that endpoint is specifically to create that relationship. @dannylamb would know better than I.
  2. See my comment on your other issue. I think you can do it, just not through the UI, and there is a chance you need to update either the widget or it's twig template.

@mjordan
Copy link
Contributor Author

mjordan commented Mar 10, 2021

Was just alerted that Remote Video now appears as a Media type (this screenshot if from the latest Playbook):

image

But it only supports Youtube and Vimeo.

@dara2
Copy link

dara2 commented Jul 13, 2021

We found that, as @seth-shaw-unlv mentioned, we did need to add the field_media_of to the Remote Video form in order to get Remote Video to show up as an option when adding media to a node. That said, there doesn't appear to be a display for it in Islandora core, so we'll be creating one.
We haven't had luck adding any other providers either (even though it indicates that you can).

@kstapelfeldt kstapelfeldt added Type: documentation provides documentation or asks for documentation. Type: enhancement Identifies work on an enhancement to the Islandora codebase and removed documentation labels Sep 25, 2021
@rosiel
Copy link
Member

rosiel commented Jun 29, 2023

I recall that some code blew up because Islandora has the concept of a "source field" (each media has a source field, for file media it's field_media_file; for image it's field_media_image, etc.) I think there is/was an assumption that this field field would contain a file. There's a ticket about it - #1374 -> it has been closed and assumed to be fixed. Someone could test the Starter Site and see if it's doing anything weird when you add a remote video as an islandora object. It might be code, it might be config that needs changing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: documentation provides documentation or asks for documentation. Type: enhancement Identifies work on an enhancement to the Islandora codebase
Projects
Development

No branches or pull requests

5 participants