WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #47597


Ignore:
Timestamp:
06/26/2019 06:37:36 PM (5 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47597

    • Property Component changed from Upload to Media
  • Ticket #47597 – Description

    initial v1  
    22
    33I have a feature to suggest to the video block: to add alternate video formats.
    4 As it is with shortcodes: [video webm="video.webm" mp4="video.mp4"] or some themes or html5:
    5 
     4As it is with shortcodes: `[video webm="video.webm" mp4="video.mp4"]` or some themes or html5:
     5{{{
    66 <video controls>
    77  <source src="movie.webm" type="video/webm">
    88  <source src="movie.mp4" type="video/mp4">
    99 </video> 
    10 
     10}}}
    1111Something like this:
     12{{{
    1213<!-- wp:video {"id":0001} -->
    1314<figure class="wp-block-video"><video controls src="video.webm" src="video.mp4"></video></figure>
    1415<!-- /wp:video -->
    15  
    16  Thanks for your work!
     16}}}
     17
     18Thanks for your work!