MrGreensWorkshop/MrGreen-JekyllTheme

feature for adding youtube videos

MrGreensWorkshop opened this issue · 1 comments

Is your feature request related to a problem? Please describe.

feature for adding youtube videos by id

Describe the solution you'd like

YouTube video url : https://www.youtube.com/embed/nkZOOK4wM28
YouTube link:       https://www.youtube.com/embed/
VideoID :           nkZOOK4wM28
  • add videos using video links
{% include default/youtube-video.html link='nkZOOK4wM28' center=false %}
  • youtube video config will be set in _data/conf/main.yml file
youtube:
  privacy: false
  default_center: true
  • if center is not provided to include, default_center setting in _data/conf/main.yml will be used.
  • if privacy set true www.youtube-nocookie.com will be used.
    otherwise www.youtube.com will be used for youtube video links.

Describe alternatives you've considered

Additional context

feature adding in PR #53