diff --git a/.be/ea1b0351-d083-41d9-b39b-55ff97bf0b25/bugs/e5f78ecf-9f31-4904-b596-a2b6916eb0de/values b/.be/ea1b0351-d083-41d9-b39b-55ff97bf0b25/bugs/e5f78ecf-9f31-4904-b596-a2b6916eb0de/values index 6d8a23e..a324dda 100644 --- a/.be/ea1b0351-d083-41d9-b39b-55ff97bf0b25/bugs/e5f78ecf-9f31-4904-b596-a2b6916eb0de/values +++ b/.be/ea1b0351-d083-41d9-b39b-55ff97bf0b25/bugs/e5f78ecf-9f31-4904-b596-a2b6916eb0de/values @@ -26,7 +26,7 @@ - "status": "open", + "status": "fixed", diff --git a/web/img/video-icon.png b/web/img/video-icon.png new file mode 100644 index 0000000..48fc785 Binary files /dev/null and b/web/img/video-icon.png differ diff --git a/web/js/011-display.js b/web/js/011-display.js index 007eb32..7f5db63 100644 --- a/web/js/011-display.js +++ b/web/js/011-display.js @@ -97,7 +97,10 @@ $(document).ready(function() { photos = []; for (i = 0; i < currentAlbum.photos.length; ++i) { link = $(""); - image = $("\"""); + image = $("\"""); + if (currentAlbum.photos[i].mediaType == "video") + image.css("background-image", "url(" + image.attr("src") + ")").attr("src", "img/video-icon.png"); + else image.get(0).photo = currentAlbum.photos[i]; link.append(image); photos.push(link);