def delete(self, cascade=False, delete_shares=False):
        """
        Deletes the video.
        """
        if self.id:
            self.connection.post('delete_video', video_id=self.id,
                cascade=cascade, delete_shares=delete_shares)
            self.id = None
def delete ( self , cascade = False , delete_shares = False ) : if self . id : self . connection . post ( 'delete_video' , video_id = self . id , cascade = cascade , delete_shares = delete_shares ) self . id = None
Deletes the video.