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

FEAT: Create preview page #377

Closed
9 tasks done
sergiy4 opened this issue Sep 20, 2024 · 0 comments · Fixed by #429
Closed
9 tasks done

FEAT: Create preview page #377

sergiy4 opened this issue Sep 20, 2024 · 0 comments · Fixed by #429
Assignees
Labels
BE Backend feature FE Fronted feature
Milestone

Comments

@sergiy4
Copy link
Collaborator

sergiy4 commented Sep 20, 2024

What feature?

  • Create a separate Preview page.
  • Add a video player there for playback (use the same one as on the home page in the modal).
  • Add a button to copy the preview video link (for each card on the home page).
  • When the button is clicked, send a request to the backend to generate a JWT with the video ID.
  • Add an endpoint to generate a preview URL with a JWT.
  • The server response should be a URL string with a JWT and videoId (preview/:jwt).
  • When the response arrives, it should be copied to the clipboard.
  • When a user accesses this URL, the JWT with the videoId should be extracted from the page URL, and a request should be sent to decode the JWT and retrieve the videoId, from which the videoUrl will be obtained.
  • Send the video URL to the frontend.

Note:

  • The JWT token should be handled for the URL since the browser address bar should not contain dots.

Add screenshots

No response

Acceptance criteria

No response

@sergiy4 sergiy4 added BE Backend feature FE Fronted feature labels Sep 20, 2024
@sergiy4 sergiy4 added this to the Final DEMO milestone Sep 20, 2024
@stefano-lacorazza stefano-lacorazza self-assigned this Sep 20, 2024
@stefano-lacorazza stefano-lacorazza linked a pull request Sep 25, 2024 that will close this issue
@anton-otroshchenko anton-otroshchenko moved this from Peer Review to In Progress in bsa-2024-outreachvids Sep 26, 2024
@github-project-automation github-project-automation bot moved this from Peer Review to To Be Tested in bsa-2024-outreachvids Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE Backend feature FE Fronted feature
Projects
Status: To Be Tested
Development

Successfully merging a pull request may close this issue.

2 participants