Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Victoria Bernstein
Victoria Bernstein
9,396 Points

HTML5 Jquery Media player

Hello! I've been working on creating a wordpress website for a client, and I was told that the default media player on wordpress is not ideal, and wanted to know what suggestions everyone has for an HTML5 jquery media player that I could implement on a wordpress website?

9 Answers

Victoria Bernstein
Victoria Bernstein
9,396 Points

Thanks for the answer David! How do I go about installing it once I download the .zip file?

You welcome Victoria, find inthis link all the API for this app: http://jplayer.org/latest/developer-guide/

Quick question, You have any experiencie whit JS or JQuery?

I hope this can help you.

Victoria Bernstein
Victoria Bernstein
9,396 Points

I do not have any experience with it... yet! Lol I will probably watch a few videos here on treehouse to get the gist of it. Any suggestions?

Why is the default media player on WordPress not ideal?

You can't just take people's word on things, really. I can't imagine WP is going to put a media player in (this is recent, only 3.6 and up) that doesn't work universally.

Victoria Bernstein
Victoria Bernstein
9,396 Points

With one of the current websites, the server administrator told me "The issue is the media player downloads 11 to 12Mb of data every few seconds" for every audio, instead of downloading the media once the play button is pressed- which would increase the loading time on the site etc. So I'm on the hunt for a jquery HTML5 player that does that and is compatible with wordpress. Does that help?

I have to say, that SOUNDS like nonsense and makes absolutely zero sense, but I can't promise because I haven't written a media driven site since WP 3.6 came out. Perhaps what they are saying is that the media player preloads audio files, but I just don't see how that even happens. WordPress is the largest CMS on Earth. People make mistakes but that would be an epic failure almost any beginning web developer would catch, so I have a hard time believing that bug would end up in core. Could also be a misconfiguration server side.

For audio content previously, I always used Powerpress which now has video support. It's a very nice program and very friendly toward driving podcasts as well.

Hi Victoria,

You have any experiencie whit jquery or JS?

I thinking may be you need learn before some basic codes in js and jquery before and some jquery app, not is complicated, but if is for one customer you need change the skin and adapted that whit you wordpress theme.

Good luck!

Victoria Bernstein
Victoria Bernstein
9,396 Points

Thank you both so much for the feedback! I'll be looking into both. Does anyone know what Treehouse uses for video player?

If you just want put one video or songs, you can try whit the html5 tags

[Example for add video in mp4]

<video controls type="video/mp4" src="url del video">write here one text to show if the browser not support html5</video>