# - 字幕の追加

## 1．字幕について

### (1)字幕に対応する動画形式について

字幕はトピックの動画がYouTube，Wowzaである場合のみ追加できます．

Vimeoの場合，LTI-MCから字幕を追加することはできませんので，Vimeoの画面で字幕を追加してください．

* [キャプションと字幕 – ヘルプセンター - Vimeo](https://vimeo.zendesk.com/hc/ja/articles/224968828-%E3%82%AD%E3%83%A3%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%A8%E5%AD%97%E5%B9%95)

### (2)字幕のファイル形式について

字幕はWebVTT形式のファイルに対応しています．

#### 字幕ファイルのサンプル

最初の行にWEBVTTと記載します．

字幕の表示開始時間と終了時間を `00:01.000 --> 00:05.000` のように書き，その下に字幕のテキストを記載します．

```
WEBVTT

00:01.000 --> 00:05.000
字幕1

00:05.000 --> 00:10.000
字幕2

00:10.000 --> 00:15.000
字幕3
```

詳細は以下の参考URLよりご確認ください．

* <https://www.w3.org/TR/webvtt1/>
* <https://developer.mozilla.org/ja/docs/Web/API/WebVTT_API>

## 2．字幕を追加する

❶トピックの作成・編集時に **\[動画を編集する]** をクリックします． **\[字幕を追加]** ボタンが表示されます．

❷ **\[字幕を追加]** ボタンをクリックします．

❸字幕のアップロード画面が開くので，ファイルと言語を選択し， **\[アップロード]** をクリックします．

<figure><img src="/files/bv9HX1H5tNQfZstG3Gi5" alt=""><figcaption></figcaption></figure>

❹画面下部の「作成」または「保存」をクリックします．

## 3．字幕を削除する

字幕の下に，追加した字幕言語が表示されます．右側の×をクリックすると，字幕が削除されます．

<figure><img src="/files/ax3AHtVH94mGACfRIZL2" alt=""><figcaption></figcaption></figure>

## 4．字幕を確認する

❶ブックの作成・編集画面，またはトピック一覧画面からトピックをプレビューします．

<figure><img src="/files/HtlZ6yfB0w4KeqP5EtZt" alt=""><figcaption></figcaption></figure>

❷表示される動画の右下に字幕アイコンが表示されますので，クリックして，追加した字幕の言語を選択すると，字幕が表示されます．

<figure><img src="/files/SLnSJQxfXvfvrsiZmEmh" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nii-rcos.gitbook.io/lti-mc-vm-help/id-3-topic/subtitles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
