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 functionality to display YouTube videos sequentially #11

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

akbast
Copy link
Owner

@akbast akbast commented Jun 3, 2024

Related to #10

Implements the functionality to fetch and display YouTube videos sequentially on the main page as per the issue requirements.

  • Backend Changes:
    • Adds a new /videos endpoint in backend/src/server.ts that returns an array of YouTube video URLs.
  • Frontend Changes:
    • Modifies frontend/src/app/app.component.ts to fetch video URLs from the new /videos endpoint and stores them in an array.
    • Updates frontend/src/app/app.component.html to display YouTube videos sequentially using the Angular *ngFor directive and <iframe> tags for in-page playback.

For more details, open the Copilot Workspace session.

@akbast akbast merged commit 92ec0b8 into main Jun 3, 2024
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

Successfully merging this pull request may close these issues.

1 participant