查看完整版本: [-- 如何去掉APlayer或logo文字 --]

APlayer 开发者论坛 -> APlayer 讨论区 -> 如何去掉APlayer或logo文字 [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

那抹阳光 2015-09-13 18:31

如何去掉APlayer或logo文字

让他显示自己的 文字或者logo[attachment=511]

aplayer 2015-09-13 23:26
去掉 Logo: APlayer.SetCustomLogo(-1);
显示自己的 Logo: APlayerSetCustomLogo(hBmp); // 其中 hBmp 为自己加载的一个位图的句柄

maiju 2015-09-26 16:45
aplayer:去掉 Logo: APlayer.SetCustomLogo(-1);
显示自己的 Logo: APlayerSetCustomLogo(hBmp); // 其中 hBmp 为自己加载的一个位图的句柄 (2015-09-13 23:26) 

如果是网页呢?

aplayer 2015-09-27 01:51
maiju:如果是网页呢? (2015-09-26 16:45)

网页好办,不播放的时候(状态为 PS_READY 时) 把 APlayer 隐藏,显示一个自己的图片。
以后也考虑增加加载网络图片的接口。

maiju 2015-09-28 17:38
aplayer:网页好办,不播放的时候(状态为 PS_READY 时) 把 APlayer 隐藏,显示一个自己的图片。
以后也考虑增加加载网络图片的接口。
 (2015-09-27 01:51) 

额,曲线救国。。

xushen 2015-10-01 09:31
啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊~

upobeyond 2016-03-04 23:25
学习了,

xwykx100 2016-06-25 15:29
这里来学习了

aplayer 2016-06-26 00:58
maiju:额,曲线救国。。 (2015-09-28 17:38) 

2015-11-21 以后的版本就有设置 Logo 文件 URL 的方式来设置 Logo 了,很方便,具体参考 APlayerSDK帮助的 SetConfig 函数。

czweb 2016-07-30 00:10

_Player.SetConfig(37, "D:\\default.jpg");

不起作用呢,不知道为什么

aplayer 2016-07-30 01:35
czweb:_Player.SetConfig(37, "D:\\default.jpg");
不起作用呢,不知道为什么 (2016-07-30 00:10) 

请确认已经更新到最新版本,另外确认 D:\default.jpg 存在,并且是真正的 jpg,而不是其它格式重命名。


查看完整版本: [-- 如何去掉APlayer或logo文字 --] [-- top --]


Powered by phpwind v8.7 Code ©2003-2011 phpwind
Time 0.008235 second(s),query:0 Gzip enabled