Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adam-jones-net opened this issue Jun 23, 2022 · 1 comment
Open

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

adam-jones-net opened this issue Jun 23, 2022 · 1 comment

Comments

@adam-jones-net
Copy link

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 ?

@ArturooTz
Copy link

I think I'm late with the reply lol but it if you look at the plugin demo page it looks like the correct function name is "v_toggle_volume()", this should be updated in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants