修改视频不能播放问题。
This commit is contained in:
parent
e0922e9b19
commit
270a290df9
|
@ -1011,6 +1011,10 @@ function showNormalImage(id) {
|
||||||
if (description_images.length>0) {
|
if (description_images.length>0) {
|
||||||
for (var i=0; i<description_images.length; i++){
|
for (var i=0; i<description_images.length; i++){
|
||||||
var image=$(description_images[i]);
|
var image=$(description_images[i]);
|
||||||
|
//如果图片是视频图片,不处理。
|
||||||
|
if($(image).hasClass("mediaIco")){
|
||||||
|
return;
|
||||||
|
}
|
||||||
var element=$("<a></a>").attr("href",image.attr('src'));
|
var element=$("<a></a>").attr("href",image.attr('src'));
|
||||||
image.wrap(element);
|
image.wrap(element);
|
||||||
$(image).parent().colorbox({rel:'nofollow', close: "关闭", returnFocus: false});
|
$(image).parent().colorbox({rel:'nofollow', close: "关闭", returnFocus: false});
|
||||||
|
|
Loading…
Reference in New Issue