addthis参数的疑惑

发布于 2024-10-05 00:09:27 字数 939 浏览 2 评论 0原文

我正在使用 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);

这是我应该共享的视频网址:

http://localhost:2457/Web/ajax/../MN/Bloomington/JDLHighSchool1/JDLHighSchool10.aspx?q=h%252bbv42DLMWzliBhElDjqJQ%253d%253d

我应该在 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:

http://localhost:2457/Web/ajax/../MN/Bloomington/JDLHighSchool1/JDLHighSchool10.aspx?q=h%252bbv42DLMWzliBhElDjqJQ%253d%253d

What should i be passing in url,swfurl fields

Can anyone pls provide any ideas or sample code to implement this

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

此岸叶落 2024-10-12 00:09:27

我无法访问您的网站,因为它托管在您的本地计算机上,但 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文