sitesllka.blogg.se

Caption for youtube video
Caption for youtube video











caption for youtube video

If you are testing this query in the APIs Explorer, you will need to substitute a valid caption track ID for the id parameter value. The request must be authorized using OAuth 2.0. In the request, the id parameter specifies the caption track ID of the track that you are deleting. The list could be used to display a list of caption tracks, using each track's ID as a key.Ĭall the lete method to delete a specific video.

caption for youtube video

The example has the following steps:įollow the steps above to retrieve a list of caption tracks for a video. This example shows how to delete a caption track. See the captions.insert method's documentation for code samples. If you set the caption resource's snippet.isDraft property to true, the track will not be publicly visible. You should set the sync parameter to true if you are uploading a transcript, which has no time codes, or if you suspect the time codes in your file are incorrect and want YouTube to try to fix them. If you set the sync parameter to true, YouTube will disregard any time codes that are in the uploaded caption file and generate new time codes for the captions. The following additional options are available when uploading a caption track:

  • snippet.name - The name of the caption track.
  • snippet.language - The language of the caption track.
  • caption for youtube video

  • Id - This identifies the video to which the caption track is being added.
  • When uploading a track, you must specify a value for the following caption resource properties: You can use the API's captions.insert method to upload a new caption track for a video. This query cannot be tested using the APIs Explorer because the APIs Explorer does not support the ability to upload files, which is a requirement for this method.













    Caption for youtube video