Drupal 6 JWPlayer
I will stick to use Drupal 6 as long as Gallery 2 module can’t run on Drupal 7 .
The JWPlayer module for Drupal 6 now supports HTML 5 format for launching video able to be viewed by iPhones/iPad devices. In order to install this module , apache’s php version should be higher than 5.2 for installing drupal module “emfield” because jwplayer needs emvideo which is included in emfield.
The list of required modules are as follows :
– jQuery UI module for Drupal 6 , Download JQuery plugin extract to sites/all/libraries directory (mv jquery.ui-1.6 jquery.ui)
– CCK module for Drupal 6
– emfield module for Drupal 6
– media youtube module for Drupal 6
– getid3 module for Drupal 6 , Download getid3 libraries and extracted into sites/all/libraries/getid3/
– JWPlayer module for Drupal 6
Always check if there is missing dependencies , like libraries , from accessing : http://yoursite/admin/reports/status
If all required modules are installed , you should see below module list from http://yoursite/admin/build/modules :
After installation is done , ensure your drupal site allows upload of mp4 format video by accessing http://yoursite/admin/settings/uploads, and update “Default permitted file extensions:” to include .mp4
Now get to http://yoursite/admin/settings/jwplayermodule to “Install Latest JW Player”
After clicking the button “Install Latest JW Player” , you will see a demo video :
Next , Create a custom player called “myplayer’ :
Create a page node : http://yoursite/node/add , and upload a movie in .mp4 ,e.g. CUHK_cantonese-avc-mid-quality.mp4 and an image .jpg , e.g.CU-MOVIE.JPG as File attachments to the page node :
Then edit the body as below :
[jwplayer
|config=myplayer
|file=http://cosmo.se.cuhk.edu.hk:1080/sites/default/files/CUHK_cantonese-avc-mid-quality.mp4
|image=http://cosmo.se.cuhk.edu.hk:1080/sites/default/files/CU-MOVIE.JPG]