Starting with the Anychat r4092 version, the anychat for Web SDK supports setting the local picture as the interface background.
650) this.width=650; "id=" aimg_494 "src=" http://bbs.anychat.cn/data/attachment/forum/201406/30/ 115246zyrbl99l999kckbb.jpg "class=" Zoom "width=" 344 "alt=" 115246zyrbl99l999kckbb.jpg "/>
If you need to change the default "Anychat" background, you can use the API interface: SetBkImage to set, refer to:Http://bbs.anychat.cn/forum.php? ... =172&extra=page%3d2
earlier versions only supported network paths (for example:Http://www.anychat.cn/images/main/supervideo.jpg), and on some computers, it is found that if you set an HTTPS path can cause an exception, a viable solution is to increase support for local picture files:
1, put the background image in the plugin directory, such as:
650) this.width=650; "id=" aimg_495 "src=" http://bbs.anychat.cn/data/attachment/forum/201406/30/ 115801nx7vx1qz85xmw2v8.jpg "class=" Zoom "width=" "alt=" 115801nx7vx1qz85xmw2v8.jpg "/>"
2, call the API to set up, only need to pass the file name parameter, and do not need to pass the files path, the plug-in will automatically load the plugin installation directory under the background image:
Set Local video display location
Brac_setvideopos (Mselfuserid, GetID ("Anychatlocalvideodiv"), "anychat_video_local");
Brac_getdmoobject ("Anychat_video_local"). SetBkImage ("videobk.jpg");
Copy Code