do not try to embed /streamer as a game
parent
7c544c0438
commit
9afb190281
|
@ -2,7 +2,7 @@ $(function() {
|
|||
|
||||
var studyRegex = /lichess\.org\/study\/(?:embed\/)?(\w{8})\/(\w{8})(#\d+)?\b/;
|
||||
var gameRegex = /lichess\.org\/(?:embed\/)?(\w{8})(?:(?:\/(white|black))|\w{4}|)(#\d+)?\b/;
|
||||
var notGames = ['training', 'analysis', 'insights', 'practice', 'features', 'password'];
|
||||
var notGames = ['training', 'analysis', 'insights', 'practice', 'features', 'password', 'streamer'];
|
||||
|
||||
var parseLink = function(a) {
|
||||
var yt = lichess.toYouTubeEmbedUrl(a.href);
|
||||
|
|
Loading…
Reference in New Issue