Line 375: | Line 375: | ||
z-index: -999; | z-index: -999; | ||
} | } | ||
+ | |||
+ | .video-background { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | overflow: hidden; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | z-index: 0; | ||
+ | } | ||
+ | .video-background video { | ||
+ | min-height: 100%; | ||
+ | min-width:100%; | ||
+ | } | ||
</style> | </style> | ||
<script> | <script> | ||
Line 575: | Line 589: | ||
</style> | </style> | ||
− | <script src="http:// | + | <script src="http://georgepaterson.github.io/jquery-videobackground/script/jquery.videobackground.js"></script> |
− | <script | + | <script> |
− | + | $('body').prepend('<div class="video-background"></div>'); | |
− | + | $('.video-background').videobackground({ | |
+ | videoSource: ['https://static.igem.org/mediawiki/2016/2/2c/T--UMaryland--projects.webm', 'video/webm'], | ||
+ | poster: 'https://static.igem.org/mediawiki/2016/2/20/T--UMaryland--projectsposter.jpeg', | ||
+ | loadedCallback: function() { | ||
+ | $(this).videobackground('mute'); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
<script> | <script> | ||
$(function() { | $(function() { |
Revision as of 19:55, 3 August 2016
</div></div>
Projects
We set out to slow the pace of global warming by sequestering methane in the environment. Along the way we are engineering a DIY -80 C freezer to increase access to synthetic biology.