-
AuthorPosts
-
pittigeteksten Friend
pittigeteksten
- Join date:
- December 2012
- Posts:
- 58
- Downloads:
- 47
- Uploads:
- 9
- Thanks:
- 17
- Thanked:
- 1 times in 1 posts
September 29, 2015 at 9:23 am #693526This 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 Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
September 29, 2015 at 9:59 am #693560Hi 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 Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
September 29, 2015 at 9:59 am #750047Hi 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 -
AuthorPosts
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