“I’m really excited to announce a new feature in Jetpack 0.4 — Audio Recording. ‘Jetpacks’ can now access the microphone with just a few simple lines of Javascript […] The result is an audio file encoded in Ogg/Vorbis, which you can then playback, or if you choose to upload the file to a remote location”. A while ago we discussed Jetpack (and Google’s) HTML / JavaScript based browser extensions. Now the ante has been upped, with such creativity as URL-based voice memos!
Of course, Flash has had the ability to access the microphone for some while now, why this announcement is news is that this is part of Mozilla Jetpack–an extension that lets users write Firefox extensions using HTML and JavaScript so that they don’t have to learn the more complex XUL and XPCOM interface. A JavaScript API is provided to simplify a number of Firefox functions, much like what FUEL had done before.
By having the functionality as part of a browser extension however, it means that the audio functionality can escape the plugin-prison and serve a purpose throughout the browser. The voice memos example demonstrates a practical way of tapping into browser data. Personally, I find this very exciting, as it represents a lot of potential innovation.
Imagine a podcast recording web app, or even extending that to video–being able to record and make minor edits to a video entirely in the browser would open up the Internet as a two way channel of communication for so many people. YouTube, as popular as it has been still relies upon a fair few hurdles and bits of technical-know how to get your videos online, and the time involved.
Now imagine being able to record, edit and publish a personal video all within the browser in a single interface. What a difference that would make.
Having such audio and video input functionality exposed to the browser also gives developers all the more chances to use the super-fast JavaScript engines in browsers to good use. Augmented reality is just one example (requires Firefox 3.5).
I genuinely find this to be very exciting, but it does leave an itch at the back of my mind: what about security, privacy, and ultimately control?
But that’s the great thing about having this built into the browser, and not inside a plugin-prison! Control is ultimately yours! Whilst HTML5 video and audio tag content is a rare occurrence at the moment, what happens if lots of sites start using it, and you get assaulted by auto-playing music and videos on multiple tabs?
With the decoder built into the browser, you get the final say, unlike in Flash where the browser has no control over nuisances. Mozilla could implement a browser-wide volume control, or only play audio/video in the currently focused tab. The browser can always veto the content. A browser-wide option can be added to not automatically play audio or video content, despite the HTML asking to do so. No such fine control in Flash. This could be controlled on a per-site basis using Firefox’s per-site customisation capability (zoom settings are remembered currently).
And that means, security, privacy and control wise, you are the one in control, rather than Flash, or the website at hand.
Might make a good web based Audacity?
Great. Now malware can record you to get more identity info…
And it couldn^aEURTMt do that already? I brought up this topic in the article, ^aEURoeread more^aEUR and I^aEURTMve explained how this actually improves security.
Good point.
But how do we know no one is listening
Hope we could have a visual cue that it is off. Also a way to have it permanently off. Unless we choose to use it.
BTW I am safe I covered the webcam just like Bruce Willis.
Edited 2009-07-18 14:40 UTC
Jetpack is a Mozilla Labs prototype at this stage; but we are definitely working towards a stronger security framework for jetpack features.
Subsequent versions will have every jetpack run inside a security context that will restrict privileges and prompt the user before the jetpack can do anything that would put your privacy at risk.
Will Jetpack ever be rolled back into the browser, instead of this coffee-shop-inside-a-book-shop approach? What you^aEURTMve done is really great, but having to install Jetpack and then install another layer of extensions is too much UI for most.
Jetpack is commonly viewed as “Firefox Extensions 2.0”, so in the long run, uplift into core Firefox is highly probable. Before that can happen, however, Jetpack needs a lot of work, we need to be sure that it is production ready.
I used ff for a while. It is apparent that all the addons and plugins (nonsense) are not necessary for a good browsing experience. I can safely add this to the altogether too long list of reasons why I do not install FF. I do however use FF in the torbrowser which is just fine by me. I currently use k-meleon ccfme 0.095 v3 portably with QTWeb as alternate for kicks and IE8 because I live in the US and can’t seem to get rid of it without losing updateability.
The whole point of addons/plugins is that not everybody needs all of them. Why not just use a bare Firefox instance and not install any addons if that’s what you want?
The great thing about video tag is that it eventually frees up people from using flash for video play back. There is now video encoding which could mean that in the future that there could be a capture tag so that flash can be replaced in that area; web based video capturing without the need for flash.
Regarding the video tag, which is a little offtopic; There is a plugin developed ontop of Moonlight called Moonshine which enables WMV/WMA/ASF playback on Windows using Microsoft’s own CODECs. Silverlight 3.0 introduces more CODECs such as h264 support – hopefully if that filters back to Moonlight and in turn Moonshine, then the hope of a video tag based on h264 without it costing Firefox or Opera huge loads of money could be a possibility.