[wp-trac] [WordPress Trac] #51929: Twenty Twenty-One: Video link on Attachment page

WordPress Trac noreply at wordpress.org
Mon Dec 14 18:31:04 UTC 2020


#51929: Twenty Twenty-One: Video link on Attachment page
---------------------------+-----------------------------
 Reporter:  ravipatel      |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  ui, css
---------------------------+-----------------------------

Comment (by ravipatel):

 **Code solutions**

 {{{
 function custom_wp_video_extensions($types){
     $types[] = 'mov';
     return $types;
 }
 add_filter('wp_video_extensions','custom_wp_video_extensions');
 }}}

 **Can we add default format list in wordpress or not?**


 {{{
 function wp_get_video_extensions(){}
 }}}

 \wp-includes\media.php

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51929#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list