Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/javascript/jplayer/jquery.jplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,8 @@
// Create the poster image.
this.htmlElement.poster = document.createElement('img');
this.htmlElement.poster.id = this.internal.poster.id;
// Added img ALT attribute to stop WCAG 2.0 error.
this.htmlElement.poster.alt = "Media";
this.htmlElement.poster.onload = function() { // Note that this did not work on Firefox 3.6: poster.addEventListener("onload", function() {}, false); Did not investigate x-browser.
if(!self.status.video || self.status.waitForPlay) {
self.internal.poster.jq.show();
Expand Down