Roo/bootstrap/MasonryBrick.js
authoredward <edward@roojs.com>
Wed, 18 Oct 2017 04:32:56 +0000 (12:32 +0800)
committeredward <edward@roojs.com>
Wed, 18 Oct 2017 04:32:56 +0000 (12:32 +0800)
Roo/bootstrap/MasonryBrick.js

index f69a4ae..011b604 100644 (file)
@@ -166,19 +166,20 @@ Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component,  {
                 src: this.bgimage
             });
         }
-        if(this.videourl.length){
-            var vurl = this.videourl.replace(/https:\/\/youtu\.be/, 'https://www.youtube.com/embed/');
-            // youtube support only?
-            cfg.cn.push({
-                tag: 'iframe',
-                cls: 'masonry-brick-image-view',
-                src: vurl,
-                frameborder : 0,
-                allowfullscreen : true
-            });
-            
-            
-        }
+        
+//        if(this.videourl.length){
+//            var vurl = this.videourl.replace(/https:\/\/youtu\.be/, 'https://www.youtube.com/embed/');
+//            // youtube support only?
+//            cfg.cn.push({
+//                tag: 'iframe',
+//                cls: 'masonry-brick-image-view',
+//                src: vurl,
+//                frameborder : 0,
+//                allowfullscreen : true
+//            });
+//            
+//            
+//        }
         
         cfg.cn.push({
             tag: 'div',