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

source fixx? #4

Open
styl3R opened this issue Feb 1, 2013 · 1 comment
Open

source fixx? #4

styl3R opened this issue Feb 1, 2013 · 1 comment

Comments

@styl3R
Copy link

styl3R commented Feb 1, 2013

hi,

i see on the download source the message ->
Since we cannot run PHP code here, the download functionality is disabled for this demo version.

Note: You can find the source code of this demo in the gh-pages branch.

Can you help me to remove the message and convert with your script - i have downloadet the version but i see only this shit :(

@enderkus
Copy link

Hi open the scripts.js file is rewrite 91 line

// If there is any input, show a confirm dialog before resetting the session.
if($("input[name='yturl']").val() !== "") {
    $.confirm({
        'title'   : 'Start new Download',
        'message' : 'Choose your download: <br />' +
          '<strong>Video</strong>: Download the video file.<br />' +
          '<strong>Audio</strong>: Convert video and download soundtrack as mp3 file.',
        'buttons' : {
          // Disabled for GitHub demo, since we can not run scripts.
          'Audio' : {'class' : 'blue', 'action': function() { do_download("audio"); }},
          'Video' : {'class' : 'red', 'action': function() { do_download("video"); }}

        }
    });
}
return false;

});

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