ArdiArtani / Photo-Google-Player-Script

Get Photo Google streaming links
https://photo-google-player-script.now.sh
GNU General Public License v3.0
48 stars 45 forks source link

Undefined offset and undefined variable error! #4

Closed alamgircsejnu closed 7 years ago

alamgircsejnu commented 7 years ago

Hi, This script is what I am searching for 1 week. But it is showing error. I have attached a screenshot of the error.

capture

Please help me.

FmtHost commented 7 years ago

ArdiArtani same problem here pls fix this big thanks in advanced <3

monster1777 commented 7 years ago

For first notice - wait for the video to process. For the second - replace return '['.rtrim($files, ',').']'; with if(@!$files) $files = '{"type": "video/mp4", "label": "HD", "file": "'.$decode .'=m18'.'"}'; return '['.rtrim($files, ',').']'; It worked for me, but yeah, doesn't work on localhost. When uploaded same code to my server, it works.

alamgircsejnu commented 7 years ago

I replaced the code and uploaded it to server. But now it's working some videos but not working for another some.

I am giving you link of a video for which it is not working. https://photos.google.com/share/AF1QipOXUW1p13MNNHzL-7rk9czHQWPHFKH9Kthi8voN2KOqD-6Ft0xoDwJopwXj4xRX3w?key=U3B2d0dtQlZPMGtrZnNfbVc5NVF3cFd2TGYzd2pR

ArdiArtani commented 7 years ago

@alamgircsejnu The link works but you got the wrong sharing link https://photos.google.com/share/AF1QipOXUW1p13MNNHzL-7rk9czHQWPHFKH9Kthi8voN2KOqD-6Ft0xoDwJopwXj4xRX3w/photo/AF1QipODudUJ8VLqPa1tc7nUfJ6ClVzyAkg3tPrLEq4u?key=U3B2d0dtQlZPMGtrZnNfbVc5NVF3cFd2TGYzd2pR try this one.

mirmarshall01 commented 7 years ago

@ArdiArtani can i use google drive link, is it possible ?

viethqph00671 commented 7 years ago

@mirmarshall01 that's impossible mission bro, try to learn about video_get_info