Roo/bootstrap/MasonryBrick.js
[roojs1] / Roo / bootstrap / MasonryBrick.js
index a2ddd89..177fe3a 100644 (file)
@@ -193,11 +193,12 @@ Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component,  {
             var vurl = this.videourl.replace(/https:\/\/youtu\.be/, 'https://www.youtube.com/embed/');
             // youtube support only?
             cfg.cn.push({
-                tag: 'iframe',
+                tag: 'iframe?',
                 cls: 'masonry-brick-image-view',
                 src: vurl,
                 frameborder : 0,
-                allowfullscreen : true
+                allowfullscreen : true,
+                style: 'order: 5px dotted green;'
             });
         }
         
@@ -301,9 +302,10 @@ Roo.extend(Roo.bootstrap.MasonryBrick, Roo.bootstrap.Component,  {
                 tag: 'iframe',
                 cls: 'masonry-brick-image-view',
                 src: vurl,
-                frameborder : 5,
-                allowfullscreen : true,
-                style: "border: 5px dotted green;"
+                frameborder : 0,
+                allowfullscreen : true
+                
+                
             });
         }