Closed (fixed)
Project:
MediaFront
Version:
6.x-1.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2010 at 11:53 UTC
Updated:
27 May 2010 at 00:40 UTC
Hi there,
I've installed and configured Mediafront module as described in the Drupal CMS guide documentation in order to have a content type called "mediafront". I activated the field "Media Player" in CCK, but it doesn't show up on the form when I want to create new content with this content type. What am I supposed to see there?
I'd like to connect to a video file that is not hosted on my server.
What am I doing wrong? Do I need to install emfield for this, too?
Comments
Comment #1
travist commentedThe CCK field is only used to display the media player. It is not used to data retrieval in any way so you will not see anything show up in the form from this field. Basically how this works is you add a CCK field called "Media Player" and then you can chose your preset in the "Display Settings" of that CCK field. The media player will then scan the node looking for any media that it can play and then pass that along to the CCK display field.
If you wish to conntect to a video that is not hosted on your server, then the easiest way to do that is to use a special Text CCK field called mediafront_media ( CCK will rename it field_mediafront_media ). Then, when you create your node, you just copy and paste the full URL path to your media on another server and the media player will show it in the player.
Hopefully this was helpful.
Thanks,
Travis.
Comment #2
Basstunes commentedHi Travis,
yes, your method works, great!
Thanks for your quick reply!
Peter
Comment #3
Basstunes commentedThis is fixed, I'd say ...
Comment #4
Basstunes commentedOkay, I guess I've discovered how this works. When adding a CCK text field as described in post #1, I suggest to add "unlimited" when configuring this field.
Then you'll be able to link to, for example, an .mp4-file in one line, and to an .ogg-version of the same video in the next line for the very same node you're about to create in CCK. Thus the fallback mechanism seems to work across different browsers (haven't tested extensively, yet).
Comment #5
kmadel commentedI tried this with filefield, but the mediafront player just takes the first file in the filefield array (that is with playlist turned off). I would guess that with playlist turned on, that it would display the second video in the playlist.
I think the ability to fall back from mp4 to ogv would be a new feature - seems likes it would require a MediaFront specific filefield or a setting on the player that tells it to look for ogv on Firefox and to display it as HTML5 video.
Comment #6
ccoppen commentedI guess I don't understand how this CCK works.
You have to basically create 2 content fields? One for your file and one for your media player?
I can't get it to find the file for me.
Comment #7
travist commentedI am still working out the logistics of how the player should behave when it detects multiple playable media within a node. It was technically designed to play only a single media type within a node, but I am thinking that we can change the module to use some kind of preference mechanism where it prefers one type over another, and then of course, determines if it can play that media in the browser being viewed.
I will work on this, and let you know. In the meantime, just know that it will get resolved in short time.
Thanks,
Travis.
Comment #8
yannickoofilefield_sources should work too ;)
Comment #9
suthy commentedI haven't tried Mediafront yet but, travist, your answer in the first comment seems like my solution. I wanted to verify that this will work for me and hopefully may be of use to others using Edgecast.
I have a client that currently uses Edgecast, passes us a .FLV link in a plain textfield, and through our current solution we play it. However they want their videos to play on iPhones/iPads so we need to find a new solution for accepting MP4. So my idea will consist of adding a new field field_mediafront_media, adding the MediaFront module and configuring it to work with this CCK textfield. Then we'll expand our logic to use this new field and MediaFront, and if that doesn't exist then it will use the old FLV player.
A few questions: Is it necessary to have that field name or will MediaFront find any .MP4 within a textfield and know to play it? Is it possible to configure the module to only use a specified field (field_mediafront_media) or will it grab the pre-existing FLV field too? Do you predict any trouble with using a CDN like Edgecast vs uploading or using Embedded Media Field?
I've done a lot of Googling and searching and haven't found a decent solution that includes Edgecast, MP4, and Drupal so I'm hoping this is it! Thanks in advance.
Comment #10
travist commentedThat name is important. It would be highly inefficient for the module to scan the node looking for mp4 within a text field, and it will most likely grab things that were not meant to be grabbed and played. The field_mediafront_media special CCK field was designed so that the player will automatically look for that field and play it if it exists.
Hope this answers your question.
Thanks,
Travis.