Bonky Zhu
If someone is able to show me that what I think or do is not right, I will happily change, for I seek the truth, by which no one was ever truly harmed. It is the person who continues in his self-deception and ignorance who is harmed.

设置音乐小控件自动播放

首先连接上服务器,进入/home/www/htdocs/wp-includes/widgets/ 路径,打开 class-wp-widget-media-audio.php 文件。

aa

大概在71行左右,添加以下代码

'autoplay' => array(
    'type' => 'string',
    'enum' => array( 'none', 'auto', 'metadata' ),
    'default' => 'none',
    'description' => __( 'Autoplay' ),
),

Share

You may also like...

发表评论