Skip to content

jQuery.fn.v_toggleVolume() should be jQuery.fn.v_toggle_volume() #26

@alessandro-newzoo

Description

@alessandro-newzoo

Hi,

Based on the docs, the method jQuery.fn.v_toggleVolume() should toggle the mute status, but if I use that the console will say that .v_toggleVolume is not a function

So I took a look at the source files and turns out we should use jQuery.fn.v_toggle_volume instead, which in fact works fine.

Not working example (based on the Docs):

	$('.icon-unmute').click(function() {
		$('#P1').v_toggleVolume();
	});

Working example (not in the Docs, based on source files inspection):

	$('.icon-unmute').click(function() {
		$('#P1').v_toggle_volume();
	});

So long story short, please fix the docs :)

Thanks a lot!

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