Skip to content

Instantly share code, notes, and snippets.

@kevinpeno
Created February 8, 2013 01:24
Show Gist options
  • Save kevinpeno/4735834 to your computer and use it in GitHub Desktop.
Save kevinpeno/4735834 to your computer and use it in GitHub Desktop.
Testing whether object tag could be used to hack fallback support for webp in browsers that don't support it.
<!DOCTYPE html>
<html>
<head>
<title>A test for using object for webp</title>
</head>
<body>
<object data="https://www.gstatic.com/webp/gallery3/1_webp_ll.webp" type="image/webp">
<img src="https://www.gstatic.com/webp/gallery3/1.png"/>
</object>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment