English 中文(简体)
Addthis parameters doubts
原标题:

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

问题回答

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.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签