#Helm-YouTube
Helm-YouTube is a simple plugin to query YouTube via emacs and play videos in your browser.
IMPORTANT: Remeber to set your 'helm-youtube-key' variable!
-
M-x package-install: helm-youtube
-
Obtain new google API key here
-
Enable "Youtube Data API" for that key.
3a. click "Youtube Data API"
3b. click "ENABLE" on the next screen.
-
IMPORTANT: Set 'helm-youtube-key' variable
M-x customize-variable ;; search 'helm-youtube-key' Helm Youtube Key: replace "NONE" with "API KEY" ;; FROM STEP 2
-
Set browse-url-generic and add to .emacs
;;start helm-youtube.el (autoload 'helm-youtube "helm-youtube" nil t) (global-set-key (kbd "C-c y") 'helm-youtube) ;; bind hotkey ;;set default browser for you will use to play videos/default generic (setq browse-url-browser-function 'browse-url-generic) (setq browse-url-generic-program "google-chrome-open-url")
5b. (alternative) osX - open with default browser for the os.
```el
(setq browse-url-browser-function 'browse-url-generic
browse-url-generic-program "open")
```
- Enjoy :)