1

i try to make a Javascript where I need to test the ability of playing "video/mp4".

I do that with:

var video = document.createElement('video');
video.canPlayType('video/mp4');

But my Firefox (Version 25.0 / Ubuntu 13.10) returns empty string.

According the Bug I opend on bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=934947

(second comment)

I need to enable gstreamer.

But I dont't know how to do that.

1

O.K. found it out my self. Answer:

Go to

about:config

(Say yes to warranty warning). Search for gstreamer and change enabled/fals to enabled/true

Thats it.

  • This also worked for the SoundCloud playback problem I was having. Thanks for replying to your own question with this solution. :) – Alex Hirzel Jul 21 '14 at 13:52

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.