Playing wav files in Firefox on Red Hat - linux

We have a JavaScript construct that will play .wav files within Firefox on Windows and MacOSX, but it does not work for Red Hat Linux. What extension do I need?

Firefox 3.1 will support Firefox 3.5, supports the <audio> tag, a standard tag to deal with sound. If you use that, you'll need no extensions.
Unfortunately, that will only work with the latest browsers (Firefox 3, for example, is the latest stable version and yet does not support this tag. You may have trouble making it work with Internet Explorer too).

Try mplayerplug-in, which is available in rpmforge and rpmfusion. It requires mplayer to be installed (obviously) and AFAIK it can play virtually anything.

Have you tried Moonlight? I don't think the Media Codec pack was available when you first asked but it's avilable now ;-)

Related

Various versions of chrome on linux

I'm looking for the way to conduct cross-browser compatibility test on my ubuntu. Firefox and opera don't cause problems, but I didn't find any guide how to install older versions of chrome. Do you know how to check my code in this browser on my computer?
You can take screenshots in different versions in Browserstack. Also you can browse there using different browsers, but you will need to pay for that.
In general, there is no need to test compatibility against anything but the latest version of Chrome, since Chrome updates itself automatically. Just expect that anyone using Chrome to view your site will have the latest version.

css 3d not working on linux chrome

Hey i was wondering if anyone else has had problems with css 3d running on chrome on linux (specifically fedora 17). Chrome in Windows seems to handle everything fine but for some reason it won't work in Fedora. I get errors saying that my browser doesn't support 3d transforms.
Chrome/ium is probably the most popular option, so if the version you tried wasn't working, you may want to update to the very latest -- something like the Chromium Daily Builds. If even that is too buggy to work with, you might want to try a different Webkit browser for Linux.
Midori and Epiphany are two decent options. As an added bonus, I think both of these browsers will use the version of Webkit that you have installed on your system (unlike Chrome, which comes with its own version of Webkit). That means that you should be able to build Webkit from the latest nightly source release, and Midori or Epiphany will automatically use that version.
WebKit Nightly Builds
I hope that this help you.

VRML plugin for Firefox on Ubuntu

I would like to know if there is a way to render .wrl (vrml files) in Firefox running on Linux x86 ?
I've found some softs to open .wrl files (like orbisnap) but that's not embedded in the browser.
Thanks.
This question has some useful information. Firefox in Linux (assuming you have recent graphics drivers and supported hardware) has a 3D rendering API called WebGL. With a bit of fiddling you can convert your VRML file into a format that can be rendered using WebGL and X3DOM without the need for an external plugin.

intellij linux fonts

I am having an issue getting intellij to detect installed fonts on ubuntu 10.4.
The fonts are in ~.fonts and eclipse is able to detect them correctly and I restarted and stuff, so I'm not sure what's going on here...
Thanks.
Make sure that the fonts you are trying to use are Unicode and Monospace, as IDEA will not list other fonts by default. See also this issue.
If you use a recent openjdk it should mostly be able to access the same fonts as other apps (eclipse has an intrinsic advantage since it uses gtk, a native linux widget toolkit, via swt, and gtk knows where linux fonts are installed).
Native java UIs like intellij depend on how well the jvm is integrated with the system text stacks, which is not well at all for anything < java 1.7, since SUN used proprietaty text components long after their due date, in the name of stability, and because it was going broke and chose to ignore infrastructure problems that required time, money and energy to fix.

Java Micro Edition (JME) SDK for Mac OS X or Linux

The question is clear from the title.
Is there an SDK for the Java Micro Edition available for Mac OS X or Linux? Or does one need Windows XP to develop JME applications?
No, with a 'but'
There is no WTK (Wireless Toolkit) from the main vendors available for Mac (NetBeans Wiki reference) so basically you can't debug nor test the code. But, you can use an emulator from a third co: MPowerPlayer
If you are using netbeans in any other OS but windows, you still can download and add the J2ME packages using the tools/plugins menu.
Then you can add the MPowerPlayer to the IDE as a J2ME platform. Netbeans (and i guess any other IDE with J2ME WTK support) will recognize it as a valid WTK,
I've posted an specific entry about this in my blog, but it's in spanish, although maybe you can follow the images. Give it a try, and don't hesitate to ask anything:
J2ME in Mac Os with NetBeans
Offically Sun's WTK is available only on Linux and Windows, however both SDKs can be used on Mac to compile J2ME applications.
Unfortunately the emulator and the preverifier will not work (since they are not Java based) so you will not be able to test your application.
To solve this problem you can use MicroEmulator or MPowerPlayer for both emulation and preverification (you can also use PhoneME for preverification).
This is a good guide to setup you development environment using Eclipse and this one is good for Netbeans.
But, if I can give an advice (I'm working since two years on J2ME development and I'm a Mac user), it is better if you develop on Windows or Linux through a virtual machine, because the two emulators do not have a very good compliance to the JSR's standard and do not include all of them.
Moreover on OSX it will be very difficult for you to test features like Bluetooth or LocationAPIs.
Netbeans has a JME SDK
May be this is helpful, I've found a Java ME Developer Studio for Mac OS X, developed by Motorola, I haven't tested yet, it's only and EA Release, I'll try this one, and I'll let u know in a subsequent post,
http://developer.motorola.com/docstools/motodevstudio/javame/downloads/
Cheers
Oddly enough ... I just set this up 5 minutes ago on Linux.
You will need:
http://linux.com/archive/feature/122050
http://java.sun.com/products/sjwtoolkit/download.html <-- WTK
The WTK installer will ask where your JDK is. Do
find . -name "jar" -type f
and then where you have
/usr/lib/jvm/foo/bar/bin/jar
Knock of the 'jar' and give that path to the installer. This will install ktoolbar which includes a phone emulator.
The download netbeans and install the mobile addons
This is not pure J2ME, but includes most of the API
I am using it to develop an application for my SE-C902
Yes, the official SDK for OSX can be downloaded here: https://www.oracle.com/technetwork/java/javame/downloads/sdk30-mac-jsp-137878.html. Microemulator, http://www.microemu.org, also works well, and I've heard people use MPowerPlayer with success.

Resources