plugin-youtube icon indicating copy to clipboard operation
plugin-youtube copied to clipboard

Unable to use with Gitbook 3.2.0

Open qimingweng opened this issue 9 years ago • 4 comments

My book.json

{
  "gitbook": "3.2.0",
  "plugins": ["youtube"]
}

The error:

tag name expected

The book compiles when I use gitbook 3.0.0

qimingweng avatar Jul 29 '16 15:07 qimingweng

FWIW, works on gitbook 3.1.1 too, just checked

qimingweng avatar Jul 29 '16 15:07 qimingweng

Yeah, same here: tag name expected.

luisherranz avatar Aug 27 '16 17:08 luisherranz

Ok, I've just solved changing this:

{% youtube %}https://www.youtube.com/watch?v=_sGiKlSLRJc{% endyoutube %}

to this:

{% youtube %}
https://www.youtube.com/watch?v=_sGiKlSLRJc
{% endyoutube %}

luisherranz avatar Aug 27 '16 17:08 luisherranz

The doc ought to be updated to reflect @luisherranz's answer -- the src="" blurb in the readme doesn't work.

leebenson avatar Jun 06 '17 12:06 leebenson