Skip to content

Commit

Permalink
Show video preview on cover media settings panel
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Oct 17, 2019
1 parent 013ed32 commit c3e507e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/block-library/src/cover/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,14 @@ class CoverEdit extends Component {
onChange={ ( value ) => setAttributes( { focalPoint: value } ) }
/>
) }
{ VIDEO_BACKGROUND_TYPE === backgroundType && (
<video
autoPlay
muted
loop
src={ url }
/>
) }
<PanelRow>
<Button
isDefault
Expand Down

0 comments on commit c3e507e

Please sign in to comment.