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
Andrew Whitfield
5,239 PointsVideo Audio Volume
Hi,
To the wonderful staff. Could you please keep a session variable of the volume at which videos are set and remember this for the next video?
The videos start pretty quickly, and, if you have earphones in, sometimes the volume can be quite loud each time a new video starts, if you can't adjust it fast enough.
Just a thought!
Thanks, Andrew
6 Answers
Chad Shores
Courses Plus Student 8,868 Points+1
Tommy Wingo
3,493 PointsHi Andrew,
Is this specific to a single badge or is it an issue you notice between every video? Additionally, is it the music that comes in too loud or is it that the video begins too suddenly for you to adjust headphone levels. Any additional information you can provide would help us to understand your issue better.
Thanks, Tommy
Andrew Whitfield
5,239 PointsHi Tommy,
I was working through Google Maps Integration lessons, and for those it was quite a jump. For example, I set the volume to about 5-8%. If you complete a quiz and then return to the main page, the timeframe between page load and audio is sometimes so short that the jump from 5-8% to over 90% can be hard on the ears. I think it's more noticeable when someone is speaking because you want to listen to it and turn the volume down at the same time. It's not a good user experience.
My feeling is that if we set a volume, that a ping back to store our preferred volume setting for either a series of videos/course or generally might help improve the user-experience for those who change the default settings.
This is my preferred volume for that series:
Thanks Tommy! Andrew
Tommy Wingo
3,493 PointsThanks for clearing that up Andrew! I have no idea how possible that fix is, but I'll definitely pass this on as a UX issue.
For now, I'd suggest adjusting your system volume to a preferred level while you're watching Treehouse videos, just so you don't get a huge jump when the player volume resets between each video.
Thanks, Tommy
Andrew Whitfield
5,239 PointsHi Tommy,
After a couple of videos, I did exactly that.
Here's where they can look:
http://mediaelementjs.com/#howitworks
Particularly, there's an Events section where this event, 'volumechange', can have a callback bound to it.
Would something like this work?
$('#mep_0').bind({volumechange:function(e){ $.post('/',{volume:$(e.target).volume()}); }});
Thanks Tommy
Tommy Wingo
3,493 PointsI just wanted to follow up and let you know that this is on our Dev team's to do list. Thanks for being so thorough.
Thanks, Tommy
Matteo Mainardi
7,372 Pointsany news??it's still not working. for every video I've to adjust the volume (to a lower level, but this is not the point, just so you know).
thx
