Export to GitHub

jquery-tubular - issue #5

Start with sound


Posted on Apr 11, 2011 by Helpful Dog

I found a terrific application, but could not get to start by making sound, is this possible? Adding 'true ' or 'false' or on / off? appreciate the response. congratulations on the job!

Comment #1

Posted on May 16, 2011 by Swift Panda

I'm having the same problem. I want my video to start playing with sound, but can't figure out how.

Comment #2

Posted on May 27, 2011 by Grumpy Rabbit

Thanks for the comments. I will address this soon and make it a configuration option.

Comment #3

Posted on Jun 2, 2011 by Quick Bird

In tubular.js, I took out the line refernecing mute....it still mutes when clicked, but plays when loaded

Comment #4

Posted on Jun 19, 2011 by Massive Giraffe

Make changes to tubular.js on line 48:

Use this to mute on start

// Mute at start
ytplayer.mute()

Or this to unmute on start

    // unMute at start
ytplayer.unMute();
$('#videoMute').addClass('videoMute');

Comment #5

Posted on Jul 6, 2012 by Quick Monkey

I guess the line order changed - can you show us where to put in that line to mute? Line 48 didn't work...

It's strange by the way, that on line 56, it already says "ytplayer.mute()", and never says UNmute, so I'm surprised the audio would play at all...

Comment #6

Posted on Jul 10, 2012 by Happy Bird

It seems, that the player is playing audio all the time.

This one is already in the JS file: ytplayer.mute()

Any help will be appreciated.

Comment #7

Posted on Aug 10, 2012 by Grumpy Rhino

Comment deleted

Comment #8

Posted on Aug 10, 2012 by Grumpy Rhino

I rewrote a chunk to use the new iframe API. The mute is back, the onYouTubePlayerReady function was not being called because it was for the old API. I wrote this using the new iframe API:

https://developers.google.com/youtube/iframe_api_reference

I haven't tested this thoroughly, but at least it works fine for me on firefox.

Attachments

Comment #9

Posted on Oct 1, 2012 by Grumpy Rabbit

fixed with 1.0 release

Comment #10

Posted on Nov 17, 2014 by Happy Hippo

Hey, is there any way to start the video with the sound at a certain level? Currently the video starts with sound at the maximum, somewhere in the middle would be perfect.

Thanks in advance.

Status: Fixed

Labels:
Type-Defect Priority-Medium