Image and Video embeds can't work at the same time on both s.b.o and p.b.o #315

Closed
opened 2024-06-19 01:30:47 +02:00 by Demeter Dzadik · 1 comment
Member

If we embed images and videos with relative paths starting with /media, they will work on s.b.o, but not on p.b.o. This is done now, and some of the documentation is unusable on p.b.o., such as Blender Kitsu, Lattice Magic, GeoNode ShapeKeys.

If we embed images and videos with relative paths starting with ../../../docs/media, the situation is reversed.

If we embed stuff with absolute paths then it works for both, but that sucks for other reasons, for example working on the documentation on a branch becomes impossible because the branch name is part of the URL, and so on.

Would like to know if this is fixable. @fsiddi ?


As a side note; Relative-path video embeds don't work on Gitea anyways. There's a PR for that by Sergey.

If we embed images and videos with relative paths starting with `/media`, they will work on s.b.o, but not on p.b.o. This is done now, and some of the documentation is unusable on p.b.o., such as Blender Kitsu, Lattice Magic, GeoNode ShapeKeys. If we embed images and videos with relative paths starting with `../../../docs/media`, the situation is reversed. If we embed stuff with absolute paths then it works for both, but that sucks for other reasons, for example working on the documentation on a branch becomes impossible because the branch name is part of the URL, and so on. Would like to know if this is fixable. @fsiddi ? --- As a side note; Relative-path video embeds don't work on Gitea anyways. There's a [PR for that by Sergey](https://github.com/go-gitea/gitea/pull/31061).
Francesco Siddi was assigned by Demeter Dzadik 2024-06-19 01:30:56 +02:00

I suggest to ignore the fact that media paths are incorrect in projects.blender.org. The only place that should display media is https://studio.blender.org/pipeline/addons/cloudrig/introduction - as long as content works there, it's totally fine.

I suggest to ignore the fact that media paths are incorrect in projects.blender.org. The only place that should display media is https://studio.blender.org/pipeline/addons/cloudrig/introduction - as long as content works there, it's totally fine.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio-tools#315
No description provided.