Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creat a embed code ? #15

Open
Deniloee49 opened this issue Nov 30, 2017 · 13 comments
Open

creat a embed code ? #15

Deniloee49 opened this issue Nov 30, 2017 · 13 comments

Comments

@Deniloee49
Copy link

what it's possible to make embed code?

@tusx
Copy link

tusx commented Apr 7, 2018

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
Copy link

@Zebraslive thanks for the embed code.

@d4lv
Copy link

d4lv commented Aug 2, 2018

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

@Zebraslive
Copy link
Contributor

@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
Copy link

@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
Copy link

@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
Copy link
Contributor

@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
Copy link

@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
Copy link

@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
Copy link
Contributor

@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
Copy link

@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
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants