|
Download docs/Documentation_and_API/player_parameters.md from aoiandroid/android-times-articles: direct link, hf CLI and curl.
- Browser
- Download file 1.68 kB
-
https://huggingface.co/datasets/aoiandroid/android-times-articles/resolve/main/docs/Documentation_and_API/player_parameters.md
- Command line
-
hf download hf://datasets/aoiandroid/android-times-articles/docs/Documentation_and_API/player_parameters.md
-
curl -L -o player_parameters.md https://huggingface.co/datasets/aoiandroid/android-times-articles/resolve/main/docs/Documentation_and_API/player_parameters.md
1.68 kB
| # YouTube Player Parameters (English) | |
| Source: https://developers.google.com/youtube/player_parameters?hl=en | |
| By appending parameters to the IFrame URL, you can customize the playback experience in your application. | |
| ## Common Parameters | |
| | Parameter | Type | Description | | |
| | :--- | :--- | :--- | | |
| | `autoplay` | 0 or 1 | Automatically plays the video once the player loads. | | |
| | `cc_load_policy` | 1 | Causes closed captions to be shown by default. | | |
| | `controls` | 0 or 1 | Whether to display player controls. | | |
| | `disablekb` | 0 or 1 | Whether to disable keyboard controls. | | |
| | `enablejsapi` | 0 or 1 | Enables the player to be controlled via the IFrame Player API. | | |
| | `end` | number | Time in seconds when the video should stop playing. | | |
| | `fs` | 0 or 1 | Whether to display the fullscreen button. | | |
| | `hl` | string | The player's interface language (ISO 639-1 code). | | |
| | `iv_load_policy` | 1 or 3 | Whether to show video annotations. | | |
| | `list` | string | Identifies the list of content to be played (playlist ID). | | |
| | `listType` | string | The type of list being loaded (`playlist` or `user_uploads`). | | |
| | `loop` | 0 or 1 | Whether to play the initial video (or playlist) again and again. | | |
| | `origin` | string | Security measure; specify your domain. | | |
| | `playlist` | string | Comma-separated list of video IDs to play. | | |
| | `playsinline` | 0 or 1 | Whether to play inline on iOS. | | |
| | `rel` | 0 or 1 | Whether to show related videos at the end (limited to same channel since 2018). | | |
| | `start` | number | Time in seconds when the video should start playing. | | |
| ## Deprecated Parameters | |
| - `modestbranding` (No longer supported as of 2023) | |
| - `showinfo` | |
| - `autohide` | |
| - `theme` | |