uploadVideo() public method

Upload video from local drive to vzaar upload host
public uploadVideo ( string path ) : string
path string Path of the video file to be uploaded
return string
Beispiel #1
0
		static void Main(string[] args)
		{
			var api = new Vzaar("username", "token");

			if (args.Length != 1)
			{
				Console.WriteLine("Invalid number of arguments. File path is required");
			}
			else
			{
				var filePath = args[0];
				var guid = api.uploadVideo(filePath);
				Console.WriteLine("-- Uploaded. vzaar GUID: " + guid);
			}
		}