Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

fardeen7337's avatar

Laravel pCloud

I am using https://github.com/pCloud/pcloud-sdk-php

    $fileId = (int)$video->pCloudFileId;
    
    $videoLink = $pCloudFile->getLink($fileId);

to get video link from of pCloud but the video If I hit in direct url or show in a video tag on localhost xampp it works fine but when I am doing same thing on shared hosting server it always says: *This link was generated for another IP address. Try previous step again. * when accessing the link

I want to show that link video on web application and also I have an android application where I want to show that video by using rest API , I have made a rest API and passing video link on it but the issue I am facing is *This link was generated for another IP address. Try previous step again. *

any solution for this because I am newbie not that much knowledge , Thanks

0 likes
0 replies

Please or to participate in this conversation.