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

creat a embed code ? #15

Open Deniloee49 opened 6 years ago

Deniloee49 commented 6 years ago

what it's possible to make embed code?

Zebraslive commented 6 years ago

https://github.com/Zebraslive/Photo-Google-Player-Script/blob/f157472e5f0e891c75e5a1aec5f39ae8703cd76c/embed.php

tusx commented 6 years ago

hope im not asking too much of you but is it possible to add just the [ID]/photo/[ID]?key=[Key]. instead of https://photos.google.com/share/[ID]/photo/[ID]?key=[Key] into the embed,php?id=.

like this embed,php?id=[ID]/photo/[ID]?key=[Key], instead of this embed,php?id=https://photos.google.com/share/[ID]/photo/[ID]?key=[Key]

Amrinder-Ghumman commented 6 years ago

@Zebraslive thanks for the embed code.

d4lv commented 6 years ago

@Zebraslive can you make the same embed with jw player 7-8 plzzz

Zebraslive commented 6 years ago

@oceanoffiles https://github.com/Zebraslive/Photo-Google-Player-Script/blob/patch-1/embed.php Done. next time @ me so i know you're talking to me and can answer sooner. should work both ways now.

@d4lv Sorry I don't use jw player. not a fan of it.

cobyperez commented 4 years ago

@Zebraslive Good day I tried the embed code but there's no resolution switcher? can you fix it? sorry but im not a programmer. thanks for the effort.

karankankaria commented 4 years ago

@Zebraslive Also when I try to move video forward it justs restarts from begining. I don't know why that error is occuring. Please help.

Zebraslive commented 4 years ago

@KaranJain29 Looks like you missed the ?id= in your url. If it restarts from beginning that means it's streaming off the download url which doesn't support Range request header so you can't skip thru the video.

karankankaria commented 4 years ago

@Zebraslive Hello Sir. Thanks. I understood the problem. I wanted to ask if the link could be encrypted so that photos..google.com/example cannot be accessed?

karankankaria commented 4 years ago

@Zebraslive I have an example for you. This guy has implemented google photos player and he has enabled encryption on it. Link: https://uplayer.stream/demo/photos-panel/

Waiting for your reply!!

Zebraslive commented 4 years ago

@KaranJain29 Yes you can encode the URL using openssl. then decode inside gp.php before generating stream links. auto encode the url while passing url to the embed from the database.

karankankaria commented 4 years ago

@Zebraslive Hello sir. Thanks for your fast reply. But I am not dev. Can you help me with setting it up. Thanks once again!!

karankankaria commented 4 years ago

@d4lv You can check this. https://github.com/KaranJain29/Google-Photo-Player-JW-Player-Integrated