Skip to content

Conversation

davisagli
Copy link
Member

@davisagli davisagli commented Sep 6, 2025

Forward-port of #6870 to main


📚 Documentation preview 📚: https://volto--7318.org.readthedocs.build/

…es. Added allowedPeertubeInstances to the video block config to add others

url condition at Video Body component for peertube instances

update Video Block component test snapshot

improve Edit view to give more information about block possibilities

changelog

rollback video block edit msgid modification

i18n

update snapshots

update test snapshots

modify youtube url regex to make it more strict

feat: add more unit tests for video block component

improve Array testing for peertubeInstances

better matching for peertube embed

update video block snapshot

add cypress test for peertube instance video block

news feature

video block peertube instances docs

video block test snapshot

tested with vitest

improve video block docs

video block docs

fix docs

docs

videoBlock docs

hide Peertube from allowed origins if there is no peertube instance in the config list

add Peertube info to the docs

get the peertube instances config list empty
restricted: false,
mostUsed: true,
sidebarTab: 1,
allowedPeertubeInstances: [],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Volto 19 we can have the list filled.

restricted: false,
mostUsed: true,
sidebarTab: 1,
allowedPeertubeInstances: [],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even with the list empty I can insert videos from Peertube.

<Embed {...embedSettings} />
</>
) : Object.keys(iframeSettings).length > 0 ? (
<iframe title="Peertube video iframe" {...iframeSettings}></iframe>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the block has the Peertube video and I go to editing, when I click on the video, it does not load the video block settings in the menu on the right.

@wesleybl
Copy link
Member

@ionlizarazu Can you take a look here please?

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

Successfully merging this pull request may close these issues.

3 participants