Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • pittigeteksten Friend
    #693526

    This may be a feature request, or it may already be possible, I just don’t know how to implement this.

    I play a Vimeo or Youtube video in the Hero module on my site in the slideshow position. It would be great if I could silence the sound of the video by default (while the blue mesh is covering the video) and only turn on the sound when the user clicks the play button (and the mesh is removed)?

    This way, I could add a soundtrack to my video without startling visitors into clicking away the entire site when suddenly, loud music blasts from the speakers 🙂

    Pierre

    jooservices Friend
    #693560

    Hi there
    As far i understand you are trying to do customize youtube ( or vimeo ) embed.
    I would suggest use Custom HTML module and apply your own Youtube / Video embed code.

    By this way, you can have more easily to control and optimize embed as needed

    https://developers.google.com/youtube/player_parameters?hl=en

    Youtube already have API for this

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

    <blockquote>Changing the player volume

    player.mute():Void
    Mutes the player.
    player.unMute():Void
    Unmutes the player.
    player.isMuted():Boolean
    Returns true if the player is muted, false if not.
    player.setVolume(volume:Number):Void
    Sets the volume. Accepts an integer between 0 and 100.
    player.getVolume():Number
    Returns the player’s current volume, an integer between 0 and 100. Note that getVolume() will return the volume even if the player is muted.</blockquote>

    Thank you,
    Viet Vu

    jooservices Friend
    #750047

    Hi there
    As far i understand you are trying to do customize youtube ( or vimeo ) embed.
    I would suggest use Custom HTML module and apply your own Youtube / Video embed code.

    By this way, you can have more easily to control and optimize embed as needed

    https://developers.google.com/youtube/player_parameters?hl=en

    Youtube already have API for this

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

    <blockquote>Changing the player volume

    player.mute():Void
    Mutes the player.
    player.unMute():Void
    Unmutes the player.
    player.isMuted():Boolean
    Returns true if the player is muted, false if not.
    player.setVolume(volume:Number):Void
    Sets the volume. Accepts an integer between 0 and 100.
    player.getVolume():Number
    Returns the player’s current volume, an integer between 0 and 100. Note that getVolume() will return the volume even if the player is muted.</blockquote>

    Thank you,
    Viet Vu

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  jooservices 9 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum