Volume adjustment not working for YouTube videos

This thread may refer to an older version of JW Player! Check our articles for the most up-to-date information.
This Q&A thread was imported from our previous system and could apply to an older product.
  • Hiya,

    Im using the video player ...Hiya,

    Im using the video player to play both locally hosted FLV files as well as some YouTube videos, the player works 100% fine for the local FLV's but when streaming YouTube videos, the volume control does not appear to work?



  • I too am experiencing the same problem. Have you had any success in finding a resolution to this?

    Up Down 0 rated
  • This is all working fine for me. Could you check two items?

    1) Rightclick the player, choose “settings” and then set the “local storage” to 0. Youtube used to save a cookie that overrode the volume in their API.

    2) Test the volume in the latest version of the player; the ‘Youtube featured videos’ section here:


    Up Down 0 rated
  • When trying the test page yes it does in fact work. One of the things that I think is the problem is how we were trying to recompile the player with a different look instead of using a skin. I tested with a skin and everything works fine.

    Up Down 0 rated
  • Hi,

    I experience this problem with a standard local FLV (relative URL, though). After setting local storage to 0, the volume works, but a popup shows each time you change it to ask if you want to store the value... Pretty uncomfortable.

    I tried everything, from muting to setting a hardcoded value, omit it... Nothing worked.

    Help ! :s

    Up Down 0 rated
  • Right now my volume isnt working my speakers are working my volumes the right volume and event the video volumes right but why a I not getting any sound from any of the You Tube Videos????

    Up Down 0 rated
  • even im facing the same problem can any1 help me out of dis????

    Up Down 0 rated
  • I have the very same problem. Audio files are working perfectly fine. Output from speakers is perfect. But youtube, and other flv/mp4 sites have no volume. No sound comes out of any of these players.
    Can omeone please help?

    Up Down 0 rated
  • I have the very same problem. Audio files are working perfectly fine. Output from speakers is perfect. But youtube, and other flv/mp4 sites have no volume. No sound comes out of any of these players.
    Can omeone please help?

    Up Down 0 rated
  • I have the same problem i don't know much about computers but my media player is working fine but the volume on you tube is not working at all!!! HELP!!!!

    Up Down 0 rated
  • I have the very same problem. Some user have no audio with youtube videos. And i can say to all the user that configure storage to 0. Another solution?

    Up Down 0 rated
  • I have had a similar problem.. the volume is turned up, the speakers are working and everything is plugged in.. but the things is. the sound doesnt work on my internet.. it works for everything else from testing the speakers to my iTunes.. and I dont know how to fix it :( It was working earlier this morning and just stopped..

    Up Down 0 rated
  • hey had the same problem for 2 weeks! here's the solution from Youtube and it WORKS!!!!!!!!!!!!!!!!! ENJOY THE MUSIC AGAIN!!!!!!!!!!!!!!!!!!!!!!!! :-) http://help.youtube.com/support/youtube/bin/answer.py?hl=en&answer=58132

    Up Down 0 rated
  • the volume control has a small red X next to the speaker icon that is also red. it usually does that when there is copyrighted material in the videos, but it does that to all the video i try to go one.
    I have already restarted my laptop, but that didn't work. Help?

    Up Down 0 rated
  • Tried your link Debbie but it does not lead anywhere. Comes up as "Bad Request"

    Up Down 0 rated
  • Just noticced this issue

    Internet Explorer Version 6
    Snel v1.0 skin

    Found that the volume bar would not work playing a Youtube clip. It would remain on the initial volume it was when the page was opened.

    I did a test where I would mute the sound then refresh the page, and the sound would still be muted, but not un-mute. Basically it would stay on the sound level it opened with.

    Non youtube clips work fine and Firefox works fine. Hav not tested higher version of IE (if anyone can test please).

    So I have issolated it to IEv6 and YouTube clips only....

    Is it just a matter of putting in a backward compatibility script or line in the commands... ?????

    Up Down 0 rated
  • The home page of longvideo works fine, love those girls, and I just noticed there is a new version of 4.5, so I am going to test the new version and try no skin or different skins and see if I can isoloate the problem.

    Up Down 0 rated
  • I have uploaded v4.5 latest, I have changed the skins and the volume still does not adjust when using IE (any version)

    I even went back to the wizard that longtail provide and chose the "flv with a youtube video" option and that doesn't work either. So if the example don't work on the longtail site then I have not answers.

    Note that this is only a problem with IE and Youtube videos....

    Should this be looked at by the programmers, as your own example doesn't work....

    Here is my code that I use:

    <!-- Template file for Flash Movies -->
    <script type="text/javascript" src="http://mysite.com/swfobject.js"></script>

    <div align=center id="player1"><a href="http://www.macromedia.com/go/getflashplayer"><font size=5>DOWNLOAD PLAYER HERE</font></a>
    <br><font color="red" size=3>If you can read this then you need to download the FLASH player <br>to watch the movie</font>.<br>
    <script type="text/javascript">
    var s1 = new SWFObject("http://mysite.com/player-viral.swf","single","425","355","7");

    Up Down 0 rated
  • I have searched the entire site looking for an answer and considering this is quite a major flaw in the player, considering 90% of content out there is from youtube, I see no option but to uninstall.

    Up Down 0 rated
  • Can't someone find a fix for this glitch? It's hard to believe.

    Up Down 0 rated

  • Yes, it works in firefox perfectly - but not in IE. :/

    Up Down 0 rated
  • Ugh I can't use youtube.
    & the answers given on this site
    are not working for me. I don't know
    what the problem is. But i love youtube
    & can't use it now ]: Help pleasee!

    Up Down 0 rated
  • this isn't entirely true actually, the jw player volume works properly with some youtube videos.

    Some of the youtube videos that still work are usually ones that were uploaded early 2007 or earlier. :/ Maybe youtube did something new ?

    Up Down 0 rated
  • First discover if it is web sound altogether and not just youtube being a pain. If it is the web, here's the solution to your problem:

    Copy this text into notepad (starting with Windows Registry Editor Version 5.00) and save it to your desktop using the name "missing.reg":

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32]

    After saving the file, go to START > RUN > and type 'regedit' and then click OK
    In the registry, select FILE > IMPORT and select the "missing.reg" file from your desktop
    You should get a confirmation that it was imported successfully.

    This is an instant fix ... your speakers should now work for web sounds, then you may need to restart you computer.

    Enjoy Sound Ayesha


    Up Down 0 rated

    Up Down 0 rated
  • hey somebody help me out..my youtube volume is not working at all :( pls help me

    Up Down 0 rated
  • you tube is doing my head in

    any help ?? :( :@


    Up Down 0 rated
  • I found a solution to the bug,
    1. just download 4.5 version of the player source code,
    2 .replace yt.as code with this :

    *// Security domains

    // Variables
    if(!unique) { var unique = 1; }
    var ytPlayer:MovieClip = this.createEmptyMovieClip("ytPlayer",this.getNextHighestDepth());
    var ytPlayerLoader:MovieClipLoader = new MovieClipLoader();
    var ytLocation:String = "http://www.youtube.com/apiplayer";
    var _as3_to_as2:LocalConnection = new LocalConnection();
    var _as2_to_as3:LocalConnection = new LocalConnection();

    var connection:String;
    var loadInterval:Number;
    var byteInterval:Number;
    var timeInterval:Number;
    var loaded:Number;
    var position:Number;
    var GlobalSound = new Sound(ytPlayer);

    // Interval handlers
    function loadHandler() {
    if (ytPlayer.isPlayerLoaded()) {
    ytPlayer.addEventListener("onStateChange", onPlayerStateChange);
    ytPlayer.addEventListener("onError", onPlayerError);
    function byteHandler() {
    var btl = ytPlayer.getVideoBytesLoaded();
    var ttl = ytPlayer.getVideoBytesTotal();
    var off = ytPlayer.getVideoStartBytes();
    if(ttl > 10 && btl != loaded) {
    loaded = btl;
    if(btl+off >= ttl) {
    function timeHandler() {
    var pos = Math.round(ytPlayer.getCurrentTime()*10)/10;
    var dur = Math.round(ytPlayer.getDuration()*10)/10;
    if(dur > 3) {
    if(pos == position && dur-pos < 10) {
    } else {
    position = pos;

    // Event handlers
    function onPlayerStateChange(stt:Number) {
    if(stt == 1) {
    timeInterval = setInterval(timeHandler,200);
    } else if (stt == 3) {
    byteInterval = setInterval(byteHandler,200);
    timeInterval = setInterval(timeHandler,200);
    function onPlayerError(erc:Number) {

    // Directive forwards
    _as3_to_as2.pauseVideo = function() { ytPlayer.pauseVideo(); };
    _as3_to_as2.playVideo = function() { ytPlayer.playVideo(); };
    _as3_to_as2.stopVideo = function(){ ytPlayer.stopVideo(); clearInterval(byteInterval); };
    _as3_to_as2.loadVideoById = function(id,pos) {ytPlayer.stopVideo(); ytPlayer.loadVideoById(id,pos); };
    _as3_to_as2.setVolume = function(vol) { ytPlayer.setVolume(100); GlobalSound.setVolume(vol) };
    _as3_to_as2.seekTo = function(pos) { ytPlayer.seekTo(pos,true); };
    _as3_to_as2.setSize = function(wid,hei) { ytPlayer.setSize(wid,hei); };

    // Initialization
    ytPlayerLoaderListener = {};
    ytPlayerLoaderListener.onLoadInit = function() { loadInterval = setInterval(loadHandler,200); };

    3 republish yt.fla and replace the yt.swf file of your player with the one you just published.

    hope it helps.

    Up Down 0 rated
  • i also have the same problem...i tried ayesha's instruction but still it's not working..when i opened run and typed "regedit", nothing showed up....HELP ME PLEASE!

    Up Down 0 rated
  • hello everybody,

    my player is installed, I am running a youtube playlist on it - it works perfect with firefox but with Internet Explorer I cannot adjust the volume.

    anybody knows why?

    thank you!

    Up Down 0 rated
  • Hi Matt,

    This is Ethan from LongTail here to help you.

    Can you link me to where you are running our player on your site so I can take a look at your implementation so I can better help you?

    Please email me directly at ethan [at] longtailvideo [dot] com to follow up if you have any other questions, thank you.

    Best Regards,

    Up Down 0 rated
  • i too have a same problem pleasa give a solution
    thank you

    Up Down 0 rated
  • @chet – thank you!

    Up Down 0 rated
  • issue with yt


    Up Down -1 rated
  • Solution is here


    Up Down 1 rated

This QA is closed.

Still don't have JW Player? Get It Here