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

Add a "Share" radio button in addition to URL, Local and Page #173

Open
libreliodev opened this issue Nov 28, 2014 · 0 comments
Open

Add a "Share" radio button in addition to URL, Local and Page #173

libreliodev opened this issue Nov 28, 2014 · 0 comments

Comments

@libreliodev
Copy link
Owner

When this button is selected, do not display the full screen and autoplay options.

Instead, display the following input fields:

  • Image to share: give the choice between the existing images in the publication folder, or upload a new image
  • Destination: use a check box with 3 options: Facebook, Twitter, Mail.
  • Title
  • Text
  • Link

Based on all these input, the link to add to the pdf should be
share://librelio-europe.s3.amazonaws.com/[Publisher Name]/[App name]/[Publication folder]/[Name of image to share]?wasites=facebook,twitter,mail[or only those selected]&watitle=[URL encoded Tiltle]&watext=[URL encoded text]&walink=[URL encoded link]

Reciprocally, when the user selects a "share://..." link, make sure the input fileds are correctly displayed, by parsing the url.

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

No branches or pull requests

2 participants