我最近用Amazon Polly插件配置了我的博客。而且它工作得很完美。
但问题是,它在音频播放器下面显示了“由亚马逊·波利配音”。怎样才能删除它?
你可以在here.上观察到它
注意:我使用的是AWS自由层。
发布于 2018-05-18 10:07:23
该图像被插入到Polly插件中。
如果代码不违反许可条款,您可能会修改代码以将其删除。
请参阅:https://plugins.svn.wordpress.org/amazon-polly/trunk/public/class-amazonpolly-public.php
if ( is_singular() ) {
$image = 'https://d12ee1u74lotna.cloudfront.net/images/Voiced_by_Amazon_Polly_EN.png';
$voice_by_part = '<a href="https://aws.amazon.com/polly/" target="_blank" rel="noopener noreferrer"><img src=" ' . $image . '" width="100" ></a>';
} else {
$voice_by_part = '';
}https://stackoverflow.com/questions/50391305
复制相似问题