Skip to content

ainesophaur/nodebb-plugin-youtube-lite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeBB Youtube Lite Plugin

This NodeBB plugin allows users to embed Youtube videos inline with their posts, the added benefit of using this plugin, is it lazyloads each video when it's needed. Saving precious time when loading long, youtube heavy topics. A preview image is loaded by default, the video is requested when play is clicked.

Installation

npm install nodebb-plugin-youtube-lite

##Changes 0.3.1 - Removed forced http from api and pre loaded image. 0.2.2 - Use this version for 0.6.x and up.

0.2.1
 - Use this version for NodeBB 0.5.x.

0.1.3:
 - Added support for ref="nofollow" (If you're on a version of NodeBB lower than 0.5.2, you will need to remove ref="nofollow" from library.js)
 - Fixed issue that caused only one video per post to be rendered.

0.1.1:
 - Better handling of Regex
 - Fallback for Composer so Youtube Video embeds as soon as you post it.

About

NodeBB 0.6.0 - v0.3.2 | NodeBB 0.5.x - v0.2.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.8%
  • CSS 46.2%