code: function getVideoIdYoutube (str) {
    // link : https://youtube.com/watch?v=HBHJ0XGZfLs
    // share : https://youtu.be/HBHJ0XGZfLs
    // embed : https://youtube.com/embed/HBHJ0XGZfLs
    var re = /\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9_\-]+)/i
    var matches = re.exec(str)
    return matches && matches[1]
  }
docs: /* eslint no-useless-escape: 0