npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tw5-twtube

v1.0.9

Published

Video.js player plugin and skin plugins for TiddlyWiki 5

Downloads

6

Readme

About

TwTube is a Video.js widget plugin together with some associated player skin plugins, all for TiddlyWiki 5.

In addition, the TwTube plugin comes with an enhanced TiddlyWiki media(!) server for use on Node.js. This "media TiddlyWiki server" is intended to be used during development of a TiddyWiki using especially video media, but not for production use. For production, deploy the release TiddlyWiki HTML file on your web (media) production server, such as a document sharing point.

The following (TiddlyWiki) plugins are available:

  • TwTube: the basic video player plugin.
    • Includes the Pesistent Volume player plugin which stores your volume and mute settings in your browser for "a better user experience". (How many times did we hear that ... and were reminded of that famous Sledge Hammer bonmot: "Trust me, I know what I'm doing"?)
    • Please note that this plugin also includes media server extension to be used when developing -- but don't be afraid, as this is but a 9kB Javascript module, so it isn't really overhead and truely worth the much easier (plugin) handling.
  • (optional) YouTube-inspired player skin plugin.
  • (optional) Sublime-inspired player skin plugin.
  • (optional) iPlayer-inspired player skin plugin.
  • (optional) Hotkeys player plugin.

You can install multiple additional player skin plugins simultaneously. There's a new Control Panel tab "Media Player Skins" which shows the currently installed Video.js skin plugins from which you can choose. Of course, there's always the Default Skin.

Live Demo

Visit our TiddlyWiki Video.js live demo.

Installation

To install, simply run:

$ git clone https://github.com/TheDiveO/TWTube
$ cd TwTube
$ npm install

Done; this clones the TwTube GitHub repository, and then installs the required dependencies into your local copy. Sweet'n'simple.

Usage

Live Demo and Development

Start the TwTube development TiddlyWiki server:

$ npm start

Visit http://localhost:8080

Watch the demo, read the documentation included in the demo TiddylWiki, and muck around with the code and tiddlers to your likings.

To stop the server:

$ npm stop

Alternatively, you can simply run the develop script and stop the server then using Ctrl-C:

$ npm run develop

Generate Release Files

To generate release files:

$ npm run release

The actual release files to generate are wired up in the ./editions/release/tiddlywiki.info configuration file. When you look at it, you'll notice several sections:

  • currently four sections starting with --packplugin commands that package the contents of a plugin into its plugin tiddler, and then using --rendertemplatedtiddler render the plugin into a .tid file for easy drag-and-drop installation.

  • The final --rendertiddler command then generates the demonstration wiki HTML file that also includes the final plugins, but not the individual plugin source tiddlers anymore. So this can be used to test that the plugins work as expected in a user's TiddlyWiki.