mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
easier to tell youre trying to watch a video that firefox cant deal with
This commit is contained in:
parent
55e0209901
commit
a270019147
|
@ -443,6 +443,8 @@ window.baguetteBox = (function () {
|
|||
var is_vid = re_v.test(imageSrc),
|
||||
image = mknod(is_vid ? 'video' : 'img');
|
||||
|
||||
clmod(imageContainer, 'vid', is_vid);
|
||||
|
||||
image.addEventListener(is_vid ? 'loadedmetadata' : 'load', function () {
|
||||
// Remove loader element
|
||||
var spinner = document.querySelector('#baguette-img-' + index + ' .baguetteBox-spinner');
|
||||
|
|
|
@ -1184,6 +1184,9 @@ html.light #tree::-webkit-scrollbar {
|
|||
vertical-align: middle;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
#baguetteBox-overlay .full-image video {
|
||||
background: #333;
|
||||
}
|
||||
#baguetteBox-overlay .full-image figcaption {
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in a new issue