STOLEN FROM ...
----------------
The idea and most of the code is stolen from Insert View (http://drupal.org/project/insert_view/) by mlsamuelson (http://drupal.org/user/47411). Thanks!!

Modified (it works for me) but NO MAINTAINANCE by tfranz (http://drupal.org/user/395239)
(Im smart enough to steal code, but im not yet smart enough to maintain code ... :-)

THIS module is only a give-away without maintenance for Drupal 6.
Therefore I think there will be no version for Drupal 7 as long as you dont rewrite it for yourself. ;-) 
So feel free to change as you desire.



INSTALLATION
------------
This module is for Drupal 6.x

Enable and install the module Video.js (required).
Enable the module Insert videoJS  there is no settings-page for this module.

Once Insert_videoJS is installed, visit the input formats page at
/admin/settings/filters and click the "configure" link for the input format
for which you wish to enable the Insert videoJS filter. Then simply check the
checkbox for the filter.

It makes sense to exclude (not delete!) the display of your video-js-field at your content type:
admin/content/node-type/YOUR-CONTENT-TYPE-WITH-VIDEOJS-FIELD/display

Insert the tag (see below) into your text.



USAGE
--------

Use the tag like following:

[videojs:video=image=id]


Examples:

Just a VIDEO:
[videojs:/sites/default/files/video.mp4]

Video plus custom poster-IMAGE:
[videojs:/sites/default/files/video.mp4=/sites/default/files/posterimage.jpg]

Video plus custom poster-image plus custom-ID (for more than one video per node):
[videojs:/sites/default/files/video.mp4=/sites/default/files/posterimage.jpg=2]

Video plus custom-id WITHOUT image:
[videojs:/sites/default/files/video.mp4==2]



The video-file must be a MP4-file (MIME-type video/mp4).

The custom-ID must be numeric (random number is ok). Default (if not specified) is 1.
(You will find something like <div id="insert_videojs_1" in the source-code, where the 1 is the changeable ID)

You can change the output at line 83 of the file insert_videojs.module


CACHING and PERFORMANCE
-----------
If there are problems concerning the CACHE, try to change the value no cache (line 22 of file insert_videojs.module) to TRUE.
If no cache is set to TRUE, every node using this input format will not be cacheable and will impact the site performance!!


