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

AUTOPLAY #13

Open
JohnGiddi opened this issue Feb 17, 2018 · 4 comments
Open

AUTOPLAY #13

JohnGiddi opened this issue Feb 17, 2018 · 4 comments

Comments

@JohnGiddi
Copy link

autoPlay:true doesnt work
autoplay:true does work

@pupunzi
Copy link
Owner

pupunzi commented Feb 18, 2018

Do you have an URL where I can see your issue?
The autoplay works on desktop browser... on mobile you need a first touch to play the audio.

@JohnGiddi
Copy link
Author

I used it in this code:

var $j1 = jQuery.noConflict();
$j1(document).ready(function(){

                                        $j1(function(){
                                            $j1(".audio").mb_miniPlayer({
                                                width:600,
                                                volumeLevels:10,
                                                addShadow:false,
                                                addGradientOverlay:true,
                                                //volume:0.2,
                                                preload: 'metadata',
                                                //muted: false,
                                                animate: false,
                                                autoplay: true,
                                                skin: "Skin1",
                                                inLine:false
                                            });
                                        });
                                });

@JohnGiddi
Copy link
Author

JohnGiddi commented Feb 18, 2018

In other words: the code works only with parameter written as "autoplay" and works not if the parameter is written as "autoPlay". This has to be edited in the docu.

@JohnGiddi
Copy link
Author

JohnGiddi commented Mar 16, 2018

Solved?

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