Skip to content

elias-pap/youtube-share-clip

Repository files navigation

youtube-share-clip CI

Share sections of Youtube videos.

Advantages over YouTube Clip feature:

  • There is no need to have a YouTube creator (google) account and to be logged in to create a clip.
  • There is no 5-60 seconds restriction on clip duration. The clip can be as short or long as you like.

Disadvantages:

  • Does not work if the creator has deactivated embedding for the video.

Limitations:

  • Does not work on Premiere and Live videos.

📦 Installation

Get it on Chrome Web Store.

🚀 Usage

This extension adds an "End at" checkbox and input under the "Start at" one in the Share dialog under the YouTube video.

This way you can get a link to a section of the YouTube video, by selecting the "Start at" and "End at" times.

Steps

Click the Share button which can be found under the video.

Set Start and End times.

Copy the generated URL. This is a link to the same video which will start and stop at the times you have selected.

Enjoy sharing YouTube clips ! 🎉

🛠️ Development

Dependencies

The only dependency is Sentry which is used to monitor production errors.

Contributing

Contributions are very welcome and I'm looking forward to your PRs. By contributing, you agree that the author, Elias Papavasileiou, obtains and continues to retain all the rights of this project, as described in LICENSE file.

Setup

Get the source code and switch to the project directory:

git clone https://github.com/elias-pap/youtube-share-clip.git
cd youtube-share-clip

Install the development dependencies:

npm run deps:install

Workflow

Start the bundler in watch mode:

npm run bundle:dev

Open Google Chrome and load the generated build folder by following these instructions.

Visit or refresh any YouTube page. You will see Youtube Share Clip running as an extension.

Code changes are automatically reflected in the bundle thanks to watch mode. For the code changes to take effect, you need to reload the extension and refresh the page.