fix youtube section + add docs
This commit is contained in:
parent
d3ab827cce
commit
0749e9fec2
@ -5,6 +5,7 @@ Changelog
|
|||||||
|
|
||||||
* Add audio HTML5 player
|
* Add audio HTML5 player
|
||||||
* Update Material theme
|
* Update Material theme
|
||||||
|
* Add youtube section
|
||||||
|
|
||||||
0.4 (2016-12-11)
|
0.4 (2016-12-11)
|
||||||
|
|
||||||
|
@ -139,9 +139,7 @@ This section is for add audio file with HTML5 player.::
|
|||||||
|
|
||||||
- type: audio
|
- type: audio
|
||||||
title: Title of song
|
title: Title of song
|
||||||
image:
|
image: song.ogg
|
||||||
name: song.ogg
|
|
||||||
type: audio
|
|
||||||
|
|
||||||
|
|
||||||
Author
|
Author
|
||||||
@ -157,6 +155,17 @@ This section is for describe the author of the story::
|
|||||||
facebook: beudbeud (Optional)
|
facebook: beudbeud (Optional)
|
||||||
website: plop.fr (Optional)
|
website: plop.fr (Optional)
|
||||||
|
|
||||||
|
Youtube
|
||||||
|
-------
|
||||||
|
|
||||||
|
This section make your embeds youtube video responsive::
|
||||||
|
|
||||||
|
- type: youtube
|
||||||
|
video_id: nshFXWEKxs4
|
||||||
|
|
||||||
|
You can get the id from the url of the video https://www.youtube.com/watch?v=nshFXWEKxs4
|
||||||
|
|
||||||
|
|
||||||
Advanced options
|
Advanced options
|
||||||
________________
|
________________
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<section class="bordered-picture">
|
<section class="bordered-picture">
|
||||||
<div class="youtube-container">
|
<div class="youtube-container">
|
||||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ section.video_id }}" frameborder="0" allowfullscreen></iframe>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<section class="pictures-group">
|
<section class="pictures-group">
|
||||||
<div class="youtube-container">
|
<div class="youtube-container">
|
||||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ section.video_id }}" frameborder="0" allowfullscreen></iframe>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class=container>
|
<div class=container>
|
||||||
<div class="youtube-container">
|
<div class="youtube-container">
|
||||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/nshFXWEKxs4" frameborder="0" allowfullscreen></iframe>
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ section.video_id }}" frameborder="0" allowfullscreen></iframe>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user