Topic: Adding setVolume()

0 Members and 1 Guest are viewing this topic.

March 16, 2011, 09:40 AM

Offline rjjacob

  • Newbie
  • *
  • Posts: 9
  • none
    • View Profile
I'm wanting to modify the default video settings to have the volume set at 50% or lower. How would I do this?

March 17, 2011, 04:33 AM

Offline Andy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1,739
    • View Profile
I believe you could add some Javascript to do that set the volume once the video is loaded.  If you would like for us to provide a quote for the modification, please contact us here.

Kindest regards,

Andy Poorman - Support Manager / Developer
http://www.corephp.com'corePHP' - Accessibility Experts

— Professional Support: Support Tickets

March 17, 2011, 06:14 AM

Offline rjjacob

  • Newbie
  • *
  • Posts: 9
  • none
    • View Profile
Thank you for the reference. I've been spending a bit of time with this exact page and have not been able to figure out exactly where to put the function. Your comment "once the video is loaded" gives me a clue. I'll work with it a bit longer to see if I can make it work. But I may be contacting you for some (paid) help.

As always, thanks for the prompt reply and the quality products.

July 21, 2011, 04:32 AM

Offline rjjacob

  • Newbie
  • *
  • Posts: 9
  • none
    • View Profile
Thanks, William for the tip. I had assumed as much and finally told the client we would just keep the video from starting automatically. This seemed fine to them.
By the way, my father's name was William Jacob. What a coincidence, eh?

November 06, 2011, 06:02 AM

Offline cool_mike

  • Newbie
  • *
  • Posts: 36
  • 'corePHP' - Unlock your Full Potential!
    • View Profile
hi,
Below is the syntax which u can try .
I did some R & D for the same topic and this is what i found. Please check if the code below is working and do let me know .
<object width="425" height="355"><param name="movie" value="http://
www.youtube.com/v/DMyOrQS01b8&hl=en"></param><param name="wmode"
value="transparent"></param><embed src="http://www.youtube.com/v/
DMyOrQS01b8&hl=en" type="application/x-shockwave-flash"
wmode="transparent" width="425" height="355"></embed></object>



Thanks

February 02, 2012, 12:48 PM

Offline acymru

  • Newbie
  • *
  • Posts: 1
  • 'corePHP' - Unlock your Full Potential!
    • View Profile
Cold question, but I found this trying to do something similar.  I wanted the video to autoplay on mute.  Wound up adding the following code to the bottom of the module's tmpl > default.php file:

<script src="http://www.google.com/jsapi"></script>

<script type="text/javascript">

    function onYouTubePlayerReady(playerId) {
        ytplayer = document.getElementById("obj"+playerId);
        ytplayer.mute();
    }

</script>