Fixed poster images, sharing now works on iPad.

-Poster for video now go through edna properly
-Sharing function now also works properly on an iPad.
-New version of device-detect.js, to make sure window.matchMedia is
supported.