MySQL interesse |
|
Bij sommige websites zie je op de achtergrond een lopende achtergrondvideo over het hele scherm. Ik vraag mij af of dit ook met een nieuwsbrief mogelijk is, waarbij de mensen, terwijl ze de nieuwsbrief lezen, op de achtergrond ook die video zien.
@media screen and (-webkit-min-device-pixel-ratio: 0) {
div[class="video-wrap"]{
height: 750px;
position: relative;
overflow: hidden;
padding:0;
margin:0;}
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
video[class="video"]{
min-height: 100%;
min-width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 2;
display:inline-block !important;}
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
div[class="overlay"]{
height: 100%;
min-height: 100%;
position: relative;
margin: 0 auto;
padding: 0 20px;
z-index:3;}
}
@media screen and (-webkit-min-device-pixel-ratio: 0) { div[class="video-wrap"]{ height: 750px; position: relative; overflow: hidden; padding:0; margin:0;} } @media screen and (-webkit-min-device-pixel-ratio: 0) { video[class="video"]{ min-height: 100%; min-width: 100%; position: absolute; top: 0; left: 0; z-index: 2; display:inline-block !important;} } @media screen and (-webkit-min-device-pixel-ratio: 0) { div[class="overlay"]{ height: 100%; min-height: 100%; position: relative; margin: 0 auto; padding: 0 20px; z-index:3;} }
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#f2ae44" height="100%" width="100%">
<td align="center" bgcolor="#f2ae44" style="padding: 0 0 50px 0; background-color: #f2ae44; background: url(http://pages.litmus.com/l/31032/2014-04-17/2hs7p/31032/17346/video_bg.jpg) top center no-repeat;background-size: cover;" width="100%">
<div class="video-wrap">
<video autoplayloop="loop" class="video" style="display: none;">
<source src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4" type="video/mp4">
</video>
<div class="overlay">
<!— STANDARD EMAIL HTML / CONTENT OVER VIDEO —>
Hier alle content
<table border="0" cellpadding="0" cellspacing="0" width="600">
...
</table>
</div>
</div>
</td>
</table>
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#f2ae44" height="100%" width="100%"> <td align="center" bgcolor="#f2ae44" style="padding: 0 0 50px 0; background-color: #f2ae44; background: url(http://pages.litmus.com/l/31032/2014-04-17/2hs7p/31032/17346/video_bg.jpg) top center no-repeat;background-size: cover;" width="100%"> <video autoplayloop="loop" class="video" style="display: none;"> <source src="http://clips.vorwaerts-gmbh.de/VfE_html5.mp4" type="video/mp4"> </video> <!— STANDARD EMAIL HTML / CONTENT OVER VIDEO —> Hier alle content <table border="0" cellpadding="0" cellspacing="0" width="600"> ...
|