WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 3 months ago

#47597 new feature request

Feature request to Video Block. Allow to specify alternative video formats when uploading media elements.

Reported by: cflornet Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.2.2
Component: Media Keywords:
Focuses: Cc:
PR Number:

Description (last modified by SergeyBiryukov)

Hi,

I have a feature to suggest to the video block: to add alternate video formats.
As it is with shortcodes: [video webm="video.webm" mp4="video.mp4"] or some themes or html5:

 <video controls>
  <source src="movie.webm" type="video/webm">
  <source src="movie.mp4" type="video/mp4">
 </video>  

Something like this:

<!-- wp:video {"id":0001} -->
<figure class="wp-block-video"><video controls src="video.webm" src="video.mp4"></video></figure>
<!-- /wp:video --> 

Thanks for your work!

Change History (2)

#1 @SergeyBiryukov
6 months ago

  • Component changed from Upload to Media
  • Description modified (diff)

This ticket was mentioned in Slack in #core-media by desrosj. View the logs.


3 months ago

Note: See TracTickets for help on using tickets.