It is quite easy to get the playback length (in seconds) of an audio or video file. The file may be in whatever format that the browser supports – mp3, mp4, ogg, wav, etc.
Continue reading “Get the Duration of an Audio or Video File in Javascript”
Author: Rishabh
Convert Your CSS Code to SCSS/Sass
Ever wanted to make your own CSS2Sass convertor ? When working on projects, a tool that can quickly convert our CSS code to Sass can be ridiculously useful. Let’s see how to do it.
Continue reading “Convert Your CSS Code to SCSS/Sass”
Fixing MySQL ERROR 1030 (HY000): Got error 28 from storage engine
TL;DR You need to free-up some space on your server (or computer) or get a bigger HDD (or partition).
Continue reading “Fixing MySQL ERROR 1030 (HY000): Got error 28 from storage engine”
Controlling the Volume of an Audio File in Javascript
Just another quick tip. I’ll show you how to change the volume of an audio file of whatever format you are using – mp3, ogg, wav, aac, etc.
Continue reading “Controlling the Volume of an Audio File in Javascript”
20+ Best Canvas Tutorials and Examples That Will Make You A Canvas Master
Every now and then a new technology releases giving better features and advantages over the previous ones but learning them all without spending a lot of time can be a pain. HTML5 <canvas>
element is one of those technologies which is used to draw graphics, on the fly, on a web page via scripting (normally JavaScript). Learning <canvas>
is not hard at all but due to a lack of good tutorials around the web makes it difficult to understand, specifically for newcomers.
Continue reading “20+ Best Canvas Tutorials and Examples That Will Make You A Canvas Master”
Discussing Server-side and Other Essential Components for Your Playground
The aim of this entire series was to teach you how easy it is to create a playground like CSSDeck, in reality. We covered everything from building the environment to making it secured. Then we integrated an amazing piece of code editor and finally discussed how to build a nice, performant and secured gallery to show the “real” interactive but scaled down previews of your creations. Although, you might need some extra bells and whistles.
Continue reading “Discussing Server-side and Other Essential Components for Your Playground”
Cancel CSS3 and JS Animations to Prevent High Memory and CPU Consumption
So you got your creations gallery up on your site and shared the link on some social networks like twitter and facebook. Your loyal fans clicked your link and ended up crashing their browser. OMG! What happened ? Did you have any experiment with lots of amazing CSS3 and JS animations ? Most probably, that’s what happened then. Your experiments were awesome enough to eat up all the RAM and CPU and what not of your fan’s computer and crash it eventually.
Continue reading “Cancel CSS3 and JS Animations to Prevent High Memory and CPU Consumption”