Conversation
✅ Deploy Preview for plone-components canceled.
|
|
@sneridagh should this new component be moved to the volto components package or shall it stay in there core package? |
|
@jackahl LGTM, however, I'd put the component as general available component, in |
Co-authored-by: Steve Piercy <web@stevepiercy.com>
|
@sneridagh What should be the behavior when someone pass the autoplay:true in video block. Video should start playing automatically when page loads right? |
* main: (356 commits) Update or remove broken links (#6953) Only accept images in ImageInput component (#6926) Bump vite from 5.4.15 to 5.4.16 (#6932) Fetch vocabularies and querystring config in the current context (#6935) Remove the build from netlify for @plone/components Complete missing german translations and Storybook story for 'ContentsDeleteModal' (#6881) Remove duplicate configuration item `html_title` (#6933) Forwardport hand-cherrypicking the changes happened in Seven for `@plone/registry` relevant for be reintegrated in alpha (`main`). (#6929) Fixed regression on brown bag minor version of `@storybook/addon-webpack5-compiler-babel` (#6930) Amend PR #6885 changelog to be breaking s/Seven/Volto on `main` (#6925) Release @plone/registry 3.0.0-alpha.1 Release @plone/types 2.0.0-alpha.0 Remove news from packages that won't be released from main Fixed merge public folder from addons regression (#6919) Fixed handling of errors that are not coming from the backend (#6903) Move _hardware-requirements.md include from documentation to volto (#6918) Move includes from `plone/documentation` to `plone/volto` (#6917) Fix typo in Appextras documentation (#6083) Fix gray placeholder on horizontal scroll (#6877) ...
Co-authored-by: Steve Piercy <web@stevepiercy.com>
|
@iRohitSingh please make CI pass too, and solve conflicts. |
| #. Default: "Please enter a valid URL by deleting the block and adding a new video block." | ||
| #: components/manage/Blocks/Video/Body | ||
| msgid "Please enter a valid URL by deleting the block and adding a new video block." | ||
| msgstr "Introduïu un URL vàlid suprimint el bloc i afegint un bloc de vídeo nou." |
There was a problem hiding this comment.
Make sure we don't remove existing translations. (here and in the other locales)
There was a problem hiding this comment.
@iRohitSingh I meant for ALL of the locales. This is not the only one where this translation was removed.
There was a problem hiding this comment.
This should be .breaking since it's in the public UI and potentially breaks styles written for the old markup.
@sneridagh Can we include this for volto 19?
There was a problem hiding this comment.
@davisagli yes, we can include it in 19!
@jackahl @iRohitSingh What is left to do in here? Could you please got through David's suggestions? Thanks!
| } = props; | ||
|
|
||
| const [isActive, setIsActive] = useState(false); | ||
| const PlayVideo = () => { |
There was a problem hiding this comment.
This should use useCallback so that a new function isn't created on every render.
There was a problem hiding this comment.
@iRohitSingh The PlayVideo function is still created on every render.
|
@davisagli can you please review this pr. I think it is ready. |
|
@iFlameing See above, I already made some new comments after @iRohitSingh's latest changes. Here is what still needs to be fixed:
|
|
@davisagli I did the review of code and now.
cc @sneridagh |
sneridagh
left a comment
There was a problem hiding this comment.
Overall, LGTM!!
@plone/volto-team can we get more eyes on this one?
|
|
||
| [Peertube](https://joinpeertube.org/) is a free and open source, decentralized, ActivityPub federated video platform. | ||
|
|
||
| To configure the video block to use other instances of Peertube, add them to the `allowedPeertubeInstances` array in your project configuration object, as shown in the following example. |
There was a problem hiding this comment.
Not clear why people need to do that. Do we whitelist them in the code?
There was a problem hiding this comment.
PeerTube is federated and not centralized, like Mastodon. Plone has its own Mastodon instance of plone.social, as an example.
Co-authored-by: Steve Piercy <web@stevepiercy.com> Co-authored-by: iRohitSingh <isinghrohit0@gmail.com> Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com> Co-authored-by: Ion Lizarazu <ilizarazu@codesyntax.com>
* main: Release 19.0.0-alpha.26 Release @plone/slate 19.0.0-alpha.11 Backport @plone/components 4a6 (#7927) Use `getSlateEditorAndType` in `03-block-slate.js` to make the test more robust (#7924) Video block new embed (#6359) Add changelog check for volto-razzle (#7919) Add Vitest test for .well-known handling in production build (#7868) Make Slate tables responsive horizontally (#7916) fix: show only error message in toast instead of stringified JSON (#7692) Add missing i18n and fix duplicate id in Facet widget (#7909) Docs: Minor grammar and Clarity improvements in critical.css section (#7902)
Co-authored-by: Steve Piercy <web@stevepiercy.com> Co-authored-by: iRohitSingh <isinghrohit0@gmail.com> Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com> Co-authored-by: Ion Lizarazu <ilizarazu@codesyntax.com>
Replacing the semantic ui embed component with a custom one, to allow for more flexibility especially in regards to accessibility. This does mainly address issues raised in #5731.