Until HTML5, most solutions to embed audio in HTML involved 3rd party technologies, namely Adobe’s Flash or external players. With HTML5 and its audio element, things have become much easier and, above all, much cleaner and under the developer’s full understanding. For example, if you want to embed a playable MP3 file (showing play/stop controls) [...]
June 27 2012 |
am |
coding, dev, ENG, html5
Just edit the wp-includes\functions.php file source code and add your type to the valid types array. On its current 3.1.3 version, the relevant part of the functions.php file is at line 2536… For example, for RAR files, search for something like ‘wp|wpd’ => ‘application/wordperfect’, and ADD the following line of code: // other formats of [...]
May 29 2011 |
am |
coding, ENG
Frustrated with ThinkUp 0.8 beta database errors, I decided to invest a few minutes on the source code, just in case it was something trivial. Here is one common ThinkUp MySQL error, with the most informative parts on bold: Database error! ThinkUp could not execute the following query: INSERT INTO tu_users (user_id, user_name, full_name, avatar, [...]
February 02 2011 |
am |
coding, dev, ENG, twitter