modif comtabilite
This commit is contained in:
@@ -55,13 +55,15 @@ You can also set any of these settings on a per-page basis by adding them under
|
||||
title: YouTube Video
|
||||
youtube:
|
||||
player_parameters:
|
||||
autoplay: true
|
||||
autoplay: 1
|
||||
---
|
||||
|
||||
[plugin:youtube](https://www.youtube.com/watch?v=BK8guP9ov2U)
|
||||
|
||||
This will display a video and auto-play it.
|
||||
|
||||
For more details on the `player_parameters`, please check out the [YouTube official documentation](https://developers.google.com/youtube/player_parameters)
|
||||
|
||||
# Usage
|
||||
|
||||
To use this plugin you simply need to include a youtube URL in markdown link such as:
|
||||
@@ -78,4 +80,12 @@ Will be converted into the following embeded HTML:
|
||||
|
||||
CSS is also loaded to provide the appropriate responsive layout.
|
||||
|
||||
# Shortcode Syntax
|
||||
|
||||
As of version `3.0` you can now use an alternative _shortcode_ syntax that supports passing in the player parameter values inline
|
||||
|
||||
```
|
||||
[youtube color=white autoplay=1]https://www.youtube.com/watch?v=BK8guP9ov2U[/youtube]
|
||||
```
|
||||
|
||||
[grav]: http://github.com/getgrav/grav
|
||||
|
||||
Reference in New Issue
Block a user