VimeoUpload icon indicating copy to clipboard operation
VimeoUpload copied to clipboard

video upload title issue

Open gowthamidss opened this issue 4 years ago • 1 comments

@objc func didTapUpload(_ sender: UIBarButtonItem)
{
    let title = self.titleTextField.text
    let description = self.descriptionTextView.text
    self.videoSettings = VideoSettings(title: title, description: description, privacy: "Nobody", users: nil, password: nil)
    
    if self.operation?.state == .executing
    {
        self.operation?.videoSettings = self.videoSettings

        self.activityIndicatorView.startAnimating() // Listen for operation completion, dismiss
    }
    else if let error = self.operation?.error
    {
        self.presentOperationErrorAlert(with: error)
    }
    else
    {
        if let video = self.video, let viewPrivacy = video.privacy?.view, viewPrivacy != VideoSettingsViewController.PreUploadViewPrivacy
        {
            
            NotificationCenter.default.post(name: Notification.Name(rawValue: type(of: self).UploadInitiatedNotification), object: video)
            
            self.dismiss(animated: true, completion: nil)
        }
        else
        {
            self.activityIndicatorView.startAnimating()
            self.applyVideoSettings()
        }
    }
}

This is my upload function here i set privacy to "Nobody","Anybody","VIMPrivacy_Private" Nothing works for me could anyone help me to get this out !!!!

gowthamidss avatar Aug 27 '20 12:08 gowthamidss

Hi @gowthamidss have you tried a lowercase nobody? If that doesn't work, can you please add more info to this issue so we can see what error you are actually getting?

Additionally, you can find more details about uploading using the Vimeo API on our developer portal https://developer.vimeo.com/api/reference/videos#upload_video

rpassis avatar Aug 28 '20 00:08 rpassis