-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Video: Add support for selecting or uploading a custom image to serve as the video poster #11389
Conversation
primary | ||
onClick={ onSelectFrame } | ||
> | ||
{ translate( 'Select Frame' ) } |
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.
Hi! I've found a possible matching string that has already been translated 28 times:
translate( 'Frames' )
ES Score: 7.80
Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented).
let editText = translate( 'Edit Image' ); | ||
|
||
if ( 'video' === mimePrefix ) { | ||
editText = translate( 'Edit Thumbnail' ); |
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.
Hi! I've found a possible matching string that has already been translated 79 times:
translate( 'Thumbnail' )
ES Score: 7
Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented).
720d9e8
to
cf721d3
Compare
8160337
to
25e740b
Compare
disabled={ ! isVideoLoaded } | ||
onClick={ onSelectFrame } | ||
primary> | ||
{ translate( 'Select Frame' ) } |
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.
Hi! I've found a possible matching string that has already been translated 28 times:
translate( 'Frames' )
ES Score: 7.80
Help me improve these suggestions: react with 👎 if the suggestion doesn't make any sense, or with 👍 if it's a particularly good one (even if not implemented).
029efa5
to
5548686
Compare
90d5bb9
to
e9bd4de
Compare
37c5ea7
to
4f95bf8
Compare
bbdab26
to
ee0c999
Compare
ee0c999
to
1baf577
Compare
8ece840
to
4dbc3c3
Compare
This was the master PR for video editor, but it has since been separated out into multiple PRs. |
This PR adds a
VideoEditor
block, which enables choosing a custom VideoPress poster by either selecting a particular frame of the video or by uploading a custom image.Testing
You will need to test using a non-Jetpack site with VideoPress enabled until support is added for Jetpack sites as well.
The Video Editor can be accessed in the editor by selecting "Add Media" from the toolbar dropdown, selecting a video, clicking the "Edit" button, and then clicking the "Edit Thumbnail" button:
If the video cannot be loaded or an error occurs when updating the poster, the following message is shown:
This PR is the master but has been split out into separate PRs (#11633, #11637, #11648, #11653)