YoutubeIframe: Difference between revisions

From fridemar.ai
Jump to navigation Jump to search
(N)
 
m (m)
Line 5: Line 5:
! Default Value
! Default Value
! Recommended Class
! Recommended Class
"""
|-
|-
| autoplay
| autoplay
Line 56: Line 55:
| `315`
| `315`
|
|
"""
|}
|}

Revision as of 14:40, 27 August 2023

"""{| class="wikitable" |- ! Parameter ! Description ! Default Value ! Recommended Class |- | autoplay | Whether to automatically play the video when the page loads. | `0` (no) | `mw-youtube-player-autoplay` |- | controls | Whether to show the video controls. | `1` (yes) | `mw-youtube-player-controls` |- | loop | Whether to play the video repeatedly. | `0` (no) | `mw-youtube-player-loop` |- | modestbranding | Whether to hide the YouTube branding. | `1` (yes) | `mw-youtube-player-modestbranding` |- | playsinline | Whether to play the video inline, without opening a new window. | `1` (yes) | `mw-youtube-player-playsinline` |- | rel | The relationship between the current page and the embedded video. | `1` (show related videos) | `mw-youtube-player-rel-1` |- | showinfo | Whether to show the video title and other information. | `1` (yes) | `mw-youtube-player-showinfo` |- | theme | The theme of the video player. | `light` | `mw-youtube-player-theme-light` |- | width | The width of the video player. | `560` | |- | height | The height of the video player. | `315` | |}