How to disable auto flash player display?

Status
Not open for further replies.

Gon

Active Member
540
2014
149
15,590
i have installed latest wordpress yesterday. but when i posting .mp4 links output showing auto flash video player. is there anyway to disable it? i have posted oboom link i.e. https://oboom.com/iidmeid/abc.mp4 here is the post output showing:
S5zXvAo.jpg
 
4 comments
just post them in a href like below:
Code:
<a href="https://oboom.com/iidmeid/abc.mp4">https://oboom.com/iidmeid/abc.mp4</a>
 
Open : wp-includes/media.php
Find : function wp_get_video_extensions()
Delete : mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv' ,
Example :
function wp_get_video_extensions() {
/**
* Filter the list of supported video formats.
*
* @since 3.6.0
*
* @param array $extensions An array of support video formats. Defaults are
* 'mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv'.
*/
return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv' ) );

:sun: Happy
 
Open : wp-includes/media.php
Find : function wp_get_video_extensions()
Delete : mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv' ,
Example :
function wp_get_video_extensions() {
/**
* Filter the list of supported video formats.
*
* @since 3.6.0
*
* @param array $extensions An array of support video formats. Defaults are
* 'mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv'.
*/
return apply_filters( 'wp_video_extensions', array( 'mp4', 'm4v', 'webm', 'ogv', 'wmv', 'flv' ) );

:sun: Happy

It works perfect!
Thank you for help
 
Status
Not open for further replies.
Back
Top