• Resolved melmmm

    (@mumme1msncom)


    Two issues with video header:

    Issue #1 – The button that should say “Pause” says “Play” most (but not all) of the time
    Issue #2 – There is no sound

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    1. Try to temporarily deactivate all your plugins and see if it helps.

    2. That’s default behavior, I don’t think that it can be changed easily.

    Kind Regards, Roman.

    Thread Starter melmmm

    (@mumme1msncom)

    Thanks for the reply, just wondering if you are part of this plugin authors team?

    1. Deactivating all plugins did not resolve the issue.

    2. I am fairly certain there is a way to change this, the default behavior should not be mute really…

    Thread Starter melmmm

    (@mumme1msncom)

    Update on #2, I followed the instructions here: https://forums.athemes.com/t/no-sound-in-video-youtube-link-for-header/22730/6
    But still have no sound. Please advise

    Hello, yes, I do Astrid customer support.

    1. I was able to recreate this issue on my local Astrid install, so it seems to be a theme issue, I have already reported it. Thank you for pointing it out.

    2. As I said, that’s default behavior and it’s not a theme issue. The Video Header feature comes from WordPress itself. Please check this link to make sure that video is muted by default:

    Video Headers in 4.7

    Kind Regards, Roman.

    Thread Starter melmmm

    (@mumme1msncom)

    1 – Thanks

    2- I see, for anyone else looking to unmute the header video try this js (I recommend a mute button or showing controls if you do this)

    function onYouTubeIframeAPIReady() {
    var player;
    player = new YT.Player(‘player’, {
    width: 1280,
    height: 720,
    videoId: ‘wp-custom-header-video’,
    events: {
    ‘onReady’: onPlayerReady,
    ‘onPlaybackQualityChange’: onPlayerPlaybackQualityChange,
    ‘onStateChange’: onPlayerStateChange,
    ‘onError’: onPlayerError
    }
    });
    }

    function onPlayerReady(event) {
    event.target.setVolume(100);
    event.target.playVideo();
    }

    You are welcome.

    Kind Regards, Roman.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Two issues with video header’ is closed to new replies.