Skip to content

Commit

Permalink
Merge pull request #2980 from Frenzie/patch-2
Browse files Browse the repository at this point in the history
elk_jquery_embed.js: add m.youtube.com handler
  • Loading branch information
emanuele45 committed Aug 27, 2017
2 parents c58a9e6 + 8e40133 commit 4ab20dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/default/scripts/elk_jquery_embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@

return [oSettings.youtube, tag];
};
handlers['m.youtube.com'] = handlers['youtube.com'];
handlers['youtu.be'] = handlers['youtube.com'];
handlers['vimeo.com'] = function(path, a, embed) {
var videoID = path.match(/^\/(\d+)/i);
Expand Down

0 comments on commit 4ab20dc

Please sign in to comment.