Photo-Google-Player-Script icon indicating copy to clipboard operation
Photo-Google-Player-Script copied to clipboard

creat a embed code ?

Open Deniloee49 opened this issue 7 years ago • 13 comments

what it's possible to make embed code?

Deniloee49 avatar Nov 30 '17 14:11 Deniloee49

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

Zebraslive avatar Nov 30 '17 19:11 Zebraslive

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]

tusx avatar Apr 07 '18 07:04 tusx

@Zebraslive thanks for the embed code.

Amrinder-Ghumman avatar Apr 29 '18 00:04 Amrinder-Ghumman

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

d4lv avatar Aug 02 '18 05:08 d4lv

@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.

Zebraslive avatar Aug 02 '18 05:08 Zebraslive

@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.

cobyperez avatar Nov 09 '19 17:11 cobyperez

@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.

karankankaria avatar Apr 08 '20 10:04 karankankaria

@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.

Zebraslive avatar Apr 08 '20 16:04 Zebraslive

@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 avatar Apr 08 '20 16:04 karankankaria

@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!!

karankankaria avatar Apr 08 '20 16:04 karankankaria

@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.

Zebraslive avatar Apr 08 '20 16:04 Zebraslive

@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 avatar Apr 08 '20 16:04 karankankaria

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

karankankaria avatar Apr 09 '20 14:04 karankankaria