Youtube upload (also in the demo) not working

I'm trying the youtube demo (TMS Cloud Pack: TAdvYouTube Demo) the connect and the list works.
the upload does not work.
I see that the component is still at version 1.0.0.0 is this correct?
i am using delphi 10.3 update 3

Hi,

Can you please explain what is going wrong with the upload?

Please note that when uploading relatively large files it is possible that the video is not available immediately after the upload has finished.
If you re-load the list of videos after waiting a couple of seconds the uploaded video should show up.

[quote="Bart, post:2, topic:14303, full:true"]
Hi,

Can you please explain what is going wrong with the upload?
Hello.

I am directly using the demo present in the package by entering only the API keys.

I start the application
I connect to the account correctly.
I view the videos of the channel (which correspond to the ones I find in YT Studio)
I write the title and description
I upload by selecting the video (scrolling the loading bar)
the message box appears with "The video has bell uploded."
the video is not even present in YT studio.

If you restart the demo, does the new video appear in the list of videos?

Can you please enable logging to further investigate the issue?
Logging can be enabled by setting Logging to True and LogLevel to llDetail. The log file is automatically generated in the machine's Documents folder.

i find the bug.

the title contained the character "
the plugin does not compile the json correctly when there is that character.

do i have to replace myself with escape characters?

[removed by admin] (29.3 KB)

Thank you for notifying us about this issue.

This has now been resolved in TMS VCL Cloud Pack.
The update will be available with the next release.

As a temporary workaround you can indeed escape the invalid characters manually.

the problem is only for " char or for other characters ?

There are other characters that need to be escaped for JSON.

You can use the existing "EscapeJSONValue" function from the CloudBase unit.

Example:

AdvYouTube1.UploadVideo(OpenDialog1.FileName, EscapeJSONValue(edTitle.Text), EscapeJSONValue(edDescription.Text));