Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio 100% (for responsive) #283

Closed
bzmillerboy opened this issue Oct 29, 2011 · 6 comments
Closed

Audio 100% (for responsive) #283

bzmillerboy opened this issue Oct 29, 2011 · 6 comments
Labels

Comments

@bzmillerboy
Copy link

I know there has been support for

@johndyer
Copy link
Collaborator

Sounds like a fun feature, but it would require some coding. Would you like to give it a shot and send a pull request?

@garrettjohnson
Copy link
Contributor

Hacked something together to get the job done. #316

@johndyer
Copy link
Collaborator

johndyer commented Dec 6, 2011

IN 2.4.2

@johndyer johndyer closed this as completed Dec 6, 2011
@eimajenthat
Copy link

I don't quite understand how to implement the responsive resizing on the audio player. I tried mimicking the example file with the responsive video player, but when the window shrinks, the player's heigh increases, and the controls disappear. I know it's something I'm doing wrong, but I'm not quite sure what.

I hate to impose on the generosity you gentlemen have shown by sharing your talents here, but do you think it would be possible to include an example implementation of the responsive audio player? Or, if you you wanted to drop some hints, I could try and put together an example and commit it back.

@codfish
Copy link

codfish commented Jun 11, 2013

Hey @eimajenthat , just in case you haven't gotten your answer, or for those people like me who stumble upon this page looking for an answer...if you just specify a width of '100%' (string), you should be good to go.

$("audio").mediaelementplayer({
    audioWidth: '100%'
});

@eimajenthat
Copy link

@codonnell822 , thanks for the tip. I will try this next time the issue comes up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants