-
Notifications
You must be signed in to change notification settings - Fork 0
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
Vimeo links bug #393
Comments
looks like the backend treats this link as an
returns [
{
"info": {
"category": "object",
"hasThumbnail": false,
"location": {
"sourceUrl": "https://vimeo.com/461293952"
},
"mediaId": "0a2109c1-fe26-44f8-adf9-3b4be4d125d4",
"mimeType": "text/html;charset=UTF-8"
}
}
] |
returns these configured media sources: [
{
"code": "youtube",
"mediaCategory": "embed",
"ord": 1,
"serviceUrl": "https://www.youtube.com/embed"
},
{
"code": "vimeo",
"mediaCategory": "embed",
"ord": 2,
"serviceUrl": "https://vimeo.com/watch"
}
] |
so the backend expects urls starting with "https://vimeo.com/watch" - although that does not seem to be correct. valid vimeo embed links should look like this afaict: "https://player.vimeo.com/video/461293952" so the media-souce configuration would need to be updated backend-side |
ok, thanks a lot for looking into it! Changing the assignee to Tomasz. |
We are able to change the serviceUrl by our own, so probably we don't need to do changes in the backend. I will try out, what happens when we do this on stage and will report back here. |
Tried out a lot and finally found a solution. The problem is, that some videos on Vimeo are not allowed to embed. And luckily I had such one. If this is the case, the backend delivers back an ugly message and the input forms will crash. Not sure, if we like to tackle this somehow. If so, it is an issue for backend. Otherwise, I changed the serviceUrl of embedded vimeo videos to If afterwards I upload a vimeo video - but you need to use the embed url like the example above - it will show the vimeo embedded in marketplace. I've already updated the one by Laure: https://marketplace.sshopencloud.eu/tool-or-service/C5u2Yb Additionally for curation: I saw that there are old embedded videos inside the database, with the wrong youtube link (we once had the serviceUrl not correct). I guess, we should correct them and maybe also tackle the current ones, that are interpreted not as EMBED but as OBJECT due to not using the youtube-embed-URL. |
This is related to #146. Media sources are not handled as we would expect I think, so we need to have a discussion about that. We need to discuss validation and the way we want to identify if media_data is of EMBED type. Currently the behaviour is not what we all would expect I think. |
while trying to manually update the three items still presenting wrong Vimeo links - see list in our curation minutes here - I end up with a "failed to upload media" message. Any idea why @KlausIllmayer ? |
error messages from the backend: |
add how to replicate |
Here is my attempt to replicate this issue:
|
Which link to use to display Vimeo videos under media?
When using the standard url or the embed one, nothing appears.
Exemple: https://marketplace.sshopencloud.eu/tool-or-service/C5u2Yb
The text was updated successfully, but these errors were encountered: