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

Not working on ipad, iphone. #1

Open
davesundays opened this issue Nov 29, 2010 · 1 comment
Open

Not working on ipad, iphone. #1

davesundays opened this issue Nov 29, 2010 · 1 comment

Comments

@davesundays
Copy link

Works fine in Safari using an MP3, but not working on iphone, ipad. click the play button but nothing happens.

@stephenkeep
Copy link

modify jquery.simpleplayer.js as below to get it to work on iphone and ipad:

remove the wrap statement and replace with...

        $(this).before('<div class="simple-player-container" style="background-color:padding: 0 10px 5px 5px;">');
        $(this).after('</div>');

        $('.simple-player-container').prepend(
            '<div><ul>' + 
                '<li style="display: inline-block; padding: 0 5px; "><a style="text-decoration: none;"' +
                ' class="start-button" href="javascript:void(0)">' + playControl + '</a></li>' + 
                '<li class="progressbar-wrapper" style="display: inline-block; padding-bottom:10px; cursor: pointer; width:' + config.progressbarWidth + ';">' + 
                    '<span style="display: block; background-color: ' + config.progressbarBGColor + '; width: 100%; ">' + 
                    '<span class="progressbar" style="display: block; background-color: ' + config.progressbarColor +
                                                     '; height: ' + config.progressbarHeight + '; width: 0%; ">' +
                    '</span></span>' + 
                '</li>' + 
            '</ul></div>'
        );

Repository owner deleted a comment from mkproject-admin Feb 21, 2024
Repository owner deleted a comment from toykam Feb 23, 2024
Repository owner deleted a comment from amd119 Feb 23, 2024
Repository owner deleted a comment from amd119 Feb 23, 2024
Repository owner deleted a comment from sandipbhuyan Mar 20, 2024
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