Commits

Matthew Turk committed aa12a41

Example vimeo embedding.

  • Participants
  • Parent commits c8ec955

Comments (0)

Files changed (3)

 	/* styling */
 	background-color:#333;
 	
-	width:675px;	
-	min-height:200px;
+	width:640px;	
+	min-height:240px;
+    padding: 10px;
 	border:1px solid #666;
 	
 	/* CSS3 styling for latest browsers */
   <!-- these are our overlays -->
   <!-- first overlay. id attribute matches our selector -->
   <div class="simple_overlay" id="video1">
-        Hi there!
+    <div class="content_wrap" style="width:640;height:320;"></div>
   </div>
 </body>
 </html>
 
    $('#notification').delay(1000).show('slow').delay(10000).hide('slow');
    $('#notification').delay(20000).hide('slow');
-   $("a[rel]").overlay(); 
+   $("a[rel]").overlay({
+        onBeforeLoad: function() {
+            var wrap = this.getOverlay().find(".content_wrap");
+            wrap.html("<iframe src=\"http://player.vimeo.com/video/20201648\" width=\"640\" height=\"320\" frameborder=\"0\"></iframe>");
+        }
+        }); 
 });	//END of jQuery