Video module 7.x-2.1-alpha2, what you should know?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
heshanlk's picture

Original post : http://heididev.com/video-module-7x-2x-what-you-should-know

I released video module 7.x-2.1-alpha2 version on 11th of Sep. This major version completely redesign the video module and its core, I'm the only one worked on this release and seems our co-maintainers (6.x) had no time to contribute code to the 7.x yet. I'm very very happy about the progress of downloading and using video module. It has over 10,500+ usage now.

In this article I'm going to examine some new features added to the video module.

Zencoder is back in 7.x-2.x version and OOP

In the first release of the 7.x-1.x video module release we had only the FFmpeg support but in 7.x-2.x release we added Zencoder transcoder engine in to the transcoders. We have re-designed the transcoding system using Abstract Factory implementation and completely the Zencoder core is now OOP. We have added number of new features to the Zencoder engine and ftp://, sftp:// support is the best.

  • Zencoder with s3://

In 6.x-4.x version which first introduse Zencoder we had only the Amazon S3 support and in D7 version its back again with 7.x-2.x version but in a different manner. In 6.x-4.x version when upload we moved our original file to Amazon S3 sever but in 7.x-2.x version we are not moving our original file to the amazon S3 server and only the out put file will put in to the S3 bucket.

In this case Zencoder will need to download your original file from your server so you have to use a public domain for testing, otherwise you can enable test mode and add a test file to download by Zencoder.

Only local images are allowed.

  • Zencoder with ftp://, sftp:// or cf://

If you don't like to use Amazon S3 but still you can use Zencoder :). In 7.x-2.x we introdused the ftp://, sftp:// or cf:// support to the Zencoder so if your in a public domain and if you have ftp:// sftp:// access then you can transcode videos and serve from localhost. Those configurations are bit tricky you should read the help for setting it up.

To use FTP/SFTP you can use mount command (mount --bind /source_dir /dest_dir_01):
Eg :
1. mkdir /home/USERNAME/videos
2. mount --bind /var/www/html/DRUPAL/sites/default/files/videos/ /home/USERNAME/files/videos
3. cd /home/USERNAME/videos
4. ls -l
<b>It should display </b><br>converted<br>original<br>thumbnails
5. chown -R USERNAME:USERNAME videos/

Use Amazon S3 stream wrappers

  • Host files on s3://

If you do not want to use a Transcoder but still you need to upload and play original files from Amazon S3 then you have to use Amazon S3 module. Make sure you select s3:// stream wrapper when you select upload destination.

Only local images are allowed.

Rules integration

We have set up rules events to active when vdieo conversion is complete and failed.

Only local images are allowed.

Views integration

View integration is the most visible feature and most requested feature we've added to the 7.x-2.x version.

  • Duration of the video

Now you can add video duration to the filed views. There are couple of more options has been added to the video views too. ie. conversion details etc.

Only local images are allowed.

Only local images are allowed.

Support JW player

We are developing a video distro and we added custom JWplayer to play flv. mp4 videos you can grab the jwplayer from git hub. https://github.com/heidisoft/Octopus

Formatter controlled video output

We have removed all the options to select video player size etc from node edit page and field settings, now those are only available in Formatters.

  • Video player widthxheight

Video player formatter has widthXheight settings to custamize easily.

Only local images are allowed.

  • Video thumbnail

Thumbnails also the same controlled only over the formatters and image styles has been added of easy use of thumbnails.

Only local images are allowed.

Module combinations

Comments

awesome !!

Ujval Shah's picture

Congratulations for your new module launch. Video Module is always a front-runner in Drupal Rich-Media Features.
Writeup is really helpful to understand the features involved in Module.

Ujval Shah
Linked-in : http://in.linkedin.com/in/ujvalshah
Skype : ujval99
Gtalk : ujval99

awesome module.. great

patoshi's picture

awesome module.. great documentation! if only every other module had the same docs.

postback/jobs URL for Zencoder

hlbbr's picture

My Videos are being transfered to AWS and transcoded by Zencoder fine, but when Zencoder tries to postback that the job has finished, it receives a 403 Forbidden, error message [You do not have permission for this request /postback/jobs/]. No change the postback url or any zencoder settings at all.

Only local images are allowed.
and -------------------------------------------------------
Only local images are allowed.

My hosting is Bluehost.com. I wrote for them and they said: "Making test http (wget) reguests to the /postback/jobs/ part of the site aren't getting generating any forbidden errors, so I doubt we are blocking that or anything using javascript."

I did the complete Brian Lewis' video tutorial in http://www.modulesunraveled.com/video
Everithing is ok

At now I get only the video thumbnail itself on the page

Can you tell me what's happening? Thanks in advance.

postback/jobs ...

svla299's picture

Hi,
Check http://drupal.org/node/1033144 and http://drupal.org/node/1426376
You might find the answer to this problem.

File API

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: