Category: Code snippets

WordPress, JavaScript, Code snippets, web development, HTML5, CSS3, design

Sharpen resized images and interlace option in WordPress

Have you ever notice that some resized images in WordPress look blurry, and you would like to dynamically sharpen those images without a bloated plugin. Well, here is how, you can sharpen the resized images in WordPress; and while you are at it you can also activate the interlace option on all image. Interlaced images […]

Mediaelements: Add a share button to video elements using jQuery

media elements share button

Here is a quick tutorial in how to add a share button to video elements using jQuery and Mediaelements.js.   HTML5 Video tag First, here is an example as how the video html5 tags should look like. The tag show the minimum attributes required, additional attributes still can be added. Notice the data-url attribute, the attributes […]