Skip to content

Uncaught TypeError: e.player.toggleMute is not a function #36

@adam-jones-net

Description

@adam-jones-net

I've just set this up on a new site and it's producing the following error:

mw.js?ver=1.0.1:1595 Uncaught TypeError: e.player.toggleMute is not a function
    at s.fn.init.mute [as v_mute] (mw.js?ver=1.0.1:1595:10873)
    at mw.js?ver=1.0.1:1595:4763

I'm initialising it in a very standard way and so rather confused by this...

<div id="headerTopVideo" class="player" data-property="{videoURL:'https://vimeo.com/12345678',containment:'body',autoPlay:true, mute:true, startAt:0, opacity:1}"></div>
<script>
        jQuery(function(){
            jQuery("#headerTopVideo").vimeo_player();
        });
</script>

Can anyone advise ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions