Added localmode for embedded players, configurable on embed-code create

This commit is contained in:
Kasper Rynning-Tønnesen
2018-08-30 12:26:59 +02:00
parent 19a38162be
commit 35ef8a54b0
11 changed files with 752 additions and 291 deletions

View File

@@ -426,7 +426,7 @@ var Player = {
}
}
}
if(offline) {
if(offline && !embed) {
var url = 'https://img.youtube.com/vi/'+id+'/mqdefault.jpg';
if(videoSource == "soundcloud") url = Player.np.thumbnail;
getColor(url);