Coder Social home page Coder Social logo

Comments (5)

leehinde avatar leehinde commented on May 19, 2024

(I also tried playing with the 'type' attribute with no luck - with/with-out, mp4, m4a)

from mediaelement.

johndyer avatar johndyer commented on May 19, 2024

Lee,
I'm guessing that's not a type that Safari supports natively, and I don't know that Flash or Silverlight will play it either. You could try adding it under the mediaelement.js types and see if Flash can play it.

from mediaelement.

leehinde avatar leehinde commented on May 19, 2024

Hi John;

I'll look at the types in mediaelement.js.

The file format works fine natively in Safari. I was using Safari as the baseline because it does work there. What I'm needing, ultimately, is to have it work everywhere else. Hopefully adding it to the mediatypes array does the trick. I'll keep you posted.

Thanks for the response.

  • Lee

from mediaelement.

leehinde avatar leehinde commented on May 19, 2024

John; I apologize, it does work, sort of, in Safari, without adding the specific type to mediaTypes.

In the page I'm displaying a list of these 30 second samples. A working control is displayed in the first item in the list and non-working controls are displayed in the rest. When I start playing the first sample, all of the samples in the page are played concurrently, not just the single sample you'd expect.

My call to invoke the plugin is $(document).ready(function(){ $("audio").mediaelementplayer()};

here's a screen shot:

http://www.hinde.net/mediaplayer.png

This is all fyi; I appreciate your efforts. This isn't a blocker in my project.

from mediaelement.

johndyer avatar johndyer commented on May 19, 2024

I added audio/mp4 and audio/m4a to the list of supported types and it seemed to work well in both Silverlight and Flash. Give it a shot and let me know how it goes.

from mediaelement.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.