Poster image fix (fixes #1763)

This commit is contained in:
Sam Potts
2020-04-19 20:06:58 +10:00
parent 9c7e429b48
commit 145f2ae24f
6 changed files with 12 additions and 20 deletions

View File

@ -886,7 +886,7 @@ class Plyr {
return null;
}
return this.media.getAttribute('poster');
return this.media.getAttribute('poster') || this.media.getAttribute('data-poster');
}
/**