The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

10. December 2011, 09:32:11

tjingboem

Posts: 3

gecko-mediaplayer

Hi,

i use Xubuntu 11.10 64 bit with opera version 11.60.
I cannot get any sound with the gecko-mediaplayer, no mp3 or ogg.
i want to include a sound player on a webpage and like to use something like:
http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_audio
but as i say, no sound to be heard.
When i click on the play button it turns into a pause button but there is no sound.
I have the gecko-mediaplayer1.04 enabled.
Help would be appriciated.

tjingboem

11. December 2011, 15:34:03

sebaro

Posts: 4

I may be wrong, but Opera uses GStreamer for HTML5's <audio> and <video>.
Gecko-mediaplayer works for <embed> and <object>.

11. December 2011, 19:58:21

tjingboem

Posts: 3

Even the <object> does not work here, but <embed> does...
Perhaps you are right. Then it would be better to use <object> so that will always work because it is older - and accepted evrywhere?
Not the prettiest, but hey it works smile

thanks for your answer,
tjingboem

12. December 2011, 05:09:14

sebaro

Posts: 4

Did you put the file in the <embed>'s 'src' attribute?

You have two options:
1. <embed> or <object> - the media file is played by a video plugin/player, gecko-mediaplayer, vlc, totem, WMP, QuickTime etc. You can embed any type (codec) of media file you like, all media players should play it.
2. HTML5's <audio> and <video> - the media file if played by video plugin provided by the browser. You cannot play any type of media file. Only Theora video/Vorbis audio plus WebM (VP8+Vorbis) on FF, Opera, Chrome/Chromium.

12. December 2011, 15:23:38

tjingboem

Posts: 3

i think i'm going the wrong way with this.
I'll tell you what i trying to do: i am working on a manual of an open source program (Csound) and for each page in that manual there has to be a small player that plays an OGG sound file.
As you say, that will probably not work in Internet Explorer? That means i will be forced to use a closed source file format like mp3....not good, problem.
So in fact i need to have a sound file player that should be build from XML to HTML. That is because i have to rebuild the manual a zillion times from XML to HTML.

I think i will have to figure this all out somewhere else, because this is becoming very OT.

Back to Opera and sound; i need GStreamer? i will check this out.
Thanks for your answers, Sebaro, you helped me to order my thoughts and priorities!

bye,
tjingboem

Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD