Sunday, February 01, 2015

web: Wallpaper image+video (Formstone)

Wallpaper Demo
$("#element").wallpaper({
 source: "path/to/image.jpg"
});


$("#element").wallpaper({
 hoverPlay: true,
 source: {
  poster: "path/to/poster.jpg",
  mp4:    "path/to/video.mp4",
  ogg:    "path/to/video.ogv",
  webm:   "path/to/video.webm"
 }
});
Formstone/Wallpaper @ GitHub
Responsive Websites With Bootstrap 3 – Pluralsight Training

No comments: