comments corrected
This commit is contained in:
@@ -208,7 +208,7 @@ function handleImageData(el, data, attr) {
|
|||||||
return el;
|
return el;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Additional processing of image data.
|
// Additional processing of attached video data.
|
||||||
function handleVideoData(el, data, attr) {
|
function handleVideoData(el, data, attr) {
|
||||||
if (!data) {
|
if (!data) {
|
||||||
attr.src = 'img/broken_video.png';
|
attr.src = 'img/broken_video.png';
|
||||||
@@ -239,7 +239,7 @@ function handleVideoData(el, data, attr) {
|
|||||||
}
|
}
|
||||||
el = InlineVideo;
|
el = InlineVideo;
|
||||||
} else {
|
} else {
|
||||||
// Use custom element instead of <img>.
|
// Use custom element instead of <img> or <video>.
|
||||||
el = UploadingImage;
|
el = UploadingImage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user