Skip to content

feat(resources): add 'Open in YouTube' button to video lecture player - #431

Merged
trtajim merged 1 commit into
mainfrom
feat/open-in-youtube-button
Oct 23, 2026
Merged

trtajim merged 1 commit into
mainfrom
feat/open-in-youtube-button

Conversation

@trtajim

@trtajim trtajim commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds a dedicated 'Open in YouTube' button and active lecture title bar to VideoSeriesPlayer.vue for video resources.

Details

  • Displays the currently playing lecture title below the player.
  • Adds an 'Open in YouTube' action button with the YouTube and external link icons.
  • Automatically resolves full YouTube watch URLs from either direct URLs or YouTube video IDs.
  • Opens the active lecture in a new tab with rel="noopener noreferrer".
  • Full dark mode and responsive layout support.

Summary by CodeRabbit

  • New Features
    • Video lectures now display their title alongside the player.
    • When a lecture has a valid video URL or ID, an “Open in YouTube” link is available and opens in a new tab. Empty video details do not display a link.

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
📥 Commits

Reviewing files that changed from the base of the PR and between e84618a and 47fb626.

📒 Files selected for processing: 1
  • resources/js/components/resources/VideoSeriesPlayer.vue
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@trtajim
trtajim merged commit fe2f0bb into main Oct 23, 2026
5 of 6 checks passed
@trtajim
trtajim deleted the feat/open-in-youtube-button branch October 23, 2026 15:14
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