-
-
Notifications
You must be signed in to change notification settings - Fork 788
main: allow other sources in Video block #7318
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
base: main
Are you sure you want to change the base?
Conversation
…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: [], |
There was a problem hiding this comment.
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: [], |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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.
@ionlizarazu Can you take a look here please? |
Forward-port of #6870 to main
📚 Documentation preview 📚: https://volto--7318.org.readthedocs.build/