Video module 7.x-2.x, 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.
- heshan's blog
- Add new comment
- Read more
- 7506 reads
Video module 7.x-2.x, configure Zencoder
Important : You cannot try this module in a private environment, you should have a public server to test this feature. But you can enable to test module and try some features like create job, download thumbnails etc.
- heshan's blog
- Add new comment
- Read more
- 5540 reads
Custom Field Handlers for Views 3
Here are the basic steps to create custom field handler for views 3.
1. Define supported version of views API in your .module file.
<?php
/**
* Implementation of hook_views_api().
*/
function video_views_api() {
return array(
'api' => 3.0,
'path' => drupal_get_path('module', 'video') . '/views',
);
}
?>- heshan's blog
- Add new comment
- Read more
- 1640 reads
Video module now compatible with WYSIWYG
Today I released new beta version of the video module, we have fixed lot of core issues on the video module, wiped out unwanted code, formatted code to match coding standards and lot more.
Module Required : WYSIWYG
- heshan's blog
- Add new comment
- Read more
- 2121 reads
Magic with HTML5 <video> tag controls
I'm a kinds very BIG rich-media lover!!! Thinking everytime how to handle multimedia in Drupal site very very easy way. So this time planing for a better video module for Drupal with 7.x-2.x release as Media module looks promising for future I gonna make my module compatible with it too.
- heshan's blog
- Add new comment
- Read more
- 1632 reads
hook_query_alter (Altering Queries in D7)
This gonna be my first post on Drupal 7. Finally I could find some minutes to write up about this. You may already know that previous versions of Drupal a developer would use db_rewrite_sql to essentially perform string manipulation on a sql query in order to modify it but with D7 the DB API has been abstracted so you don't typically write SQL and instead rely more on PDO query.
- heshan's blog
- Add new comment
- Read more
- 2009 reads
Programmatically creating video fields
Thanks @Silicon.Valet for effort and finally we could come-up with a solution to create video fields programmatically. Creating video fields are useful when you have videos in your hand and need to import to Drupal using Drush or running a script. I prefer Drush, cause its more straightforward.
- heshan's blog
- Add new comment
- Read more
- 3352 reads
Missing label on CCK single on/off checkbox
So many time some junior developer has asked me about this for single on-off checkbox?. They had the question why lable missing on checkbox?. So to understand I realized them, its not an issue on Drupal, its the way we create the field. For single on/off checkboxes, drupal will use the on label specified in the allowed values field:
- heshan's blog
- Add new comment
- Read more
- 2313 reads







