Open mjordan opened 4 years ago
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.
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.
Was just alerted that Remote Video now appears as a Media type (this screenshot if from the latest Playbook):
But it only supports Youtube and Vimeo.
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).
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 - https://github.com/Islandora/documentation/issues/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.
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?