Embedded video display module

tatien - April 11, 2008 - 18:19
Project:Mediafield Display
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Media Field display needs video facilities. I have started working on a videofield_display.module that is based on code stripped from the video.module. The module currently supports the following formats: DIVX, Quicktime, Realmedia and Windowsmedia. It has only been tested for Quicktime right now and probably needs lots of work, but this is a first step.

BTW I would suggest a audiofield_display/videofield_display modules separation as is the case for the Media Field module.

#1

tatien - April 11, 2008 - 18:21
Title:Embedded video display» Embedded video display module

Here is the .info

#2

tatien - April 11, 2008 - 18:21

Shit, problem with upload :( here I try again.

AttachmentSize
videofield_display.info_.txt 135 bytes

#3

tatien - April 11, 2008 - 18:22

Here is the .module

AttachmentSize
videofield_display.module.txt 28.26 KB

#4

tatien - April 11, 2008 - 18:23

And here is a .js script

AttachmentSize
videofield_display.js_.txt 1.39 KB

#5

tatien - April 11, 2008 - 18:24
Status:active» needs review

I would suggest the module is nonetheless added to the CVS if possible so users can try it, give feedback, etc.

#6

colan - April 11, 2008 - 19:54
Status:needs review» needs work

You may want to jump into the Rewriting mediafield as a filefield plugin discussion. We'd like to deprecate Media Field at some point, so it would be best to try and help moving File Field along. If you could port your efforts over there, and help the maintainer, it would truly be fantastic! ;)

I'm not sure that creating yet another media module is the way to go here as we'd like to move towards a single framework for this sort of stuff. Thoughts?

#7

ekrispin - May 21, 2008 - 23:38

It doesn't work. Both IE & FF.

I changed the display option of a video file field (that contains an wmv video) to the new "video player" option.

First, I had to comment the ". _video_get_parameters($field)" in line 415 (as u did for the other players cause it doesn't find the function).

Then it gives the message in 420.

BTW, you can add the avi at line 97 to be played by WMP.

Also, see at line 106 when the type is not recognized, it jumps to node/$node->nid instead of staying at the current node...

#8

ekrispin - August 17, 2008 - 14:10

Anybody home?

 
 

Drupal is a registered trademark of Dries Buytaert.