Giter Club home page Giter Club logo

Comments (10)

jeckman avatar jeckman commented on August 19, 2024

Do you have access to the php error log on the server?

When you say the download link "options are not available" what is the actual output on the page - can you point to the install somewhere or at least share the output it gives?

Most likely there is some issue with the specific server configuration but I can't tell much just from the description you've provided

from youtube-downloader.

ajai-jayakumar avatar ajai-jayakumar commented on August 19, 2024

I resolved the problem on getting the download links to the page , now am facing another problem I can't able to fetch the youtube thumbnail image from " $thumbnail_url="http://i1.ytimg.com/vi/".$my_id."/default.jpg"; " under getimage.php and pass the $thumbnail_url value to the getvideo.php .

This thumbnail option is working fine in Local Host , but on live no image appears when tried to view image it says " an error occured to fetch the image"

from youtube-downloader.

jeckman avatar jeckman commented on August 19, 2024

What html output is shown at the point where you're expecting the image?

What is the actual url shown in the img src? Is it accurately passing in an id into the $my_id variable?

from youtube-downloader.

ajai-jayakumar avatar ajai-jayakumar commented on August 19, 2024

Kindly refer the following link http://moviesgear.com/Youtube/getvideo.php?videoid=KMKk7Dn__-Y&type=Download

The code shown in img src is -
img src="getimage.php?videoid=KMKk7Dn__-Y" border="0" hspace="2" vspace="2"

I haven't altered your code in getimage.php and getvideo.php

from youtube-downloader.

jeckman avatar jeckman commented on August 19, 2024

If you try to load that image, you'll see:

<br /> <b>Warning</b>: readfile(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in <b>/home/ajaisandy/public_html/Youtube/getimage.php</b> on line <b>37</b><br /> <br /> <b>Warning</b>: readfile(http://i1.ytimg.com/vi/KMKk7Dn__-Y/default.jpg): failed to open stream: no suitable wrapper could be found in <b>/home/ajaisandy/public_html/Youtube/getimage.php</b> on line <b>37</b><br />

In other words, your host doesn't allow url_fopen which that img tag requires.

from youtube-downloader.

jeckman avatar jeckman commented on August 19, 2024

If there's an issue here it's really that perhaps getimage.php should use curl instead of reading the file directly relying on fopen.

But you should also be able to just look in the config file: $config['ThumbnailImageMode']=1;

Setting that config mode should then load thumbnails directly from youtube instead of proxying them - might be a better fit for your server

from youtube-downloader.

ajai-jayakumar avatar ajai-jayakumar commented on August 19, 2024

Thank you I used the function $config['ThumbnailImageMode']=1; and now i can see the thumbnail ..

from youtube-downloader.

Tatikyan avatar Tatikyan commented on August 19, 2024

Hi ajai-sandy,
How did you resolved the problem "Now am facing the problem in getting the video url" ?
I hope you will remember ).
Thanks.

from youtube-downloader.

ajai-jayakumar avatar ajai-jayakumar commented on August 19, 2024

Hi @Tatikyan ,
I am extremely sorry, I forgot how I resolved the issue and moreover I don't have the project files to give you as a reference.

from youtube-downloader.

Tatikyan avatar Tatikyan commented on August 19, 2024

Thank you

from youtube-downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.