addthis参数的疑惑
我正在使用 Addthis 将我的视频分享到 Facebook、Orkut 等社交网站...但我不清楚参数以及应该为这些参数字段传递的值。
var addthis_ui_config =
{
services_compact: 'facebook, myspace, igoogle, netvibes, windows, dashboard, more'
}
var addthis_share_config =
{
url: "_________________",
title: "AddThis Tour",
description: "Watch the AddThis Tour video.",
swfurl: "_______________",
width: "560",
height: "340",
screenshot: "http://i2.ytimg.com/vi/1F7DKyFt5pY/default.jpg"
}
addthis.button("#addthisid", addthis_ui_config, addthis_share_config);
这是我应该共享的视频网址:
我应该在 url、swfurl 字段中传递什么
任何人都可以提供任何想法或示例代码来实现此功能
I am using Addthis to share my videos to social networking websites like FaceBook,Orkut... But i am not clear about the parameters and the values that should be passed for those parameters fields.
var addthis_ui_config =
{
services_compact: 'facebook, myspace, igoogle, netvibes, windows, dashboard, more'
}
var addthis_share_config =
{
url: "_________________",
title: "AddThis Tour",
description: "Watch the AddThis Tour video.",
swfurl: "_______________",
width: "560",
height: "340",
screenshot: "http://i2.ytimg.com/vi/1F7DKyFt5pY/default.jpg"
}
addthis.button("#addthisid", addthis_ui_config, addthis_share_config);
This is my Video URL that should be shared:
What should i be passing in url,swfurl fields
Can anyone pls provide any ideas or sample code to implement this
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我无法访问您的网站,因为它托管在您的本地计算机上,但 url 参数应该是包含 flash 对象的页面的 URL,而 swfurl 参数是 flash 对象本身的 URL。您还应该提供 Flash 对象的宽度和高度,以确保其正确显示。
但是,由于视频托管在您的本地计算机上,因此您将其共享到的任何服务都看不到它。为此,您必须将其放在可公开访问的网络服务器上。
I can't get to your site since it's hosted on your local machine, but the url parameter should be the URL of the page that contains the flash object, while the swfurl parameter is the URL of the flash object itself. You should also provide the width and height for the flash object to make sure it's displayed correctly.
Since the video is hosted on your local machine, however, it won't be visible to any service that you share it to. To do that you'll have to put it on a publicly accessible web server.