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
Here is the .info
#2
Shit, problem with upload :( here I try again.
#3
Here is the .module
#4
And here is a .js script
#5
I would suggest the module is nonetheless added to the CVS if possible so users can try it, give feedback, etc.
#6
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
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
Anybody home?