I'm a fairly new Drupal user and I generally try to read all documentation but I had a hard time trying to find any how-tos getting MediaFront with Media and Views to show the OSM player.

This is what I tried to do..

Following these instructions:
Setting up Drupal for MediaFront

  1. Views 7.x-3.0-beta3, Media 7.x-1.x-dev, Mediafront 7.x-1.x-dev modules installed
  2. Documentation seems to be a bit off here. D7 Content Type is added at Structure | Content Type | Add Content Type:
    Content type: Video
    Label: Video Upload
    Name: field_video_upload
    Field: Multimedia asset
    Widget: Media file selector
    (changed Allowed media type to video only)
  3. Label: Image Upload
    Name: field_image_upload
    Field: Multimedia asset
    Widget: Media file selector
  4. Create view "videos"
    Default settings:
    Create a page (Is this right? Documentation does not state whether it should be a page, block or something else)
    Content: Published (Yes)
    Content: Type (= Video)

    (instead of Node as that does not seem to exist in D7)

    Not sure where to add field Node: Title

After that I followed:
Drupal CMS MediaFront & OSM Install Guide

  1. Create a preset "single", Uncheck "Show playlist" otherwise defaults
  2. Displaying player:
    Create View named media as a block only.
    This is now under "Format" instead of "Style" for the unformatted link.
    Apply instead of Update on Media Player, then Apply on preset

At this point, I hit upon the 'Undefined function media_load() in mediafront.module on line 630' issue, so I tried downgrading Media back to 7.x-1.0-beta4. That didn't seem to work too well because I then got this when trying to view the node:

Fatal error: Class name must be a valid object or a string in ../public_html/includes/common.inc on line 7475

It seems I'll have to wait till things settle down with Media since they just did a major refactoring in their dev branch and Mediafront is not wholly integrated with Media as I wanted to really use this along with Wysiwig and CKEditor for my Full HTML editing.

I'll follow this but until then I think I'll be using MediaElement.

Comments

mcsolas’s picture

Ran into the same issue when trying to display the player back on the page.

There are several ways to configure the fields to handle the media.. not sure which way to configure the fields.

alexmotion’s picture

MediaElement 1.1 for drupal 7.
Thanks wuffers !!!

travist’s picture

wuffers,

I have been spending a lot of time working on the Drupal 7 + Media + MediaFront combo and have made some improvements. Have you tried the latest DEV version? Please give it a shot and let me know if you have better luck. Also, I will be presenting this weekend over this module and will record that session on working with these three modules, and will post that when I am done. Hopefully that will shed some light on how to integrate these together.

Thanks,

Travis.

alexmotion’s picture

hi wuffers,

I am Sorry. I have failed to integrate Drupal media-module + player mediaelement.js.

My problems:
1. Procedure to upload videos to my website [Media library is main content ? ]
2. Procedure for connect media-module to module-mediaelement.js

Please help me a little !

Thanks in advance
Alex

travist’s picture

I will be giving a talk over integrating Media + MediaFront + Drupal 7 this weekend. I will record this and submit a link to the video when I am done. Also, I will be releasing 1.0 version before this weekend since I have been doing a lot of testing and am pretty sure it works. I really think this is a documentation issue and hopefully the video I record this weekend will help everyone out with this issue.

Thanks,

Travis.

alexmotion’s picture

thanks Travis.
Wait impatiently for the video tutorial.
Thank you very much friend.
Alex

slater101’s picture

Watched tutorial multiple times. Ive done everything right.

Im trying to create an audio playlist, I see my files in the playlist but it will only play one of the audio tracks, the others just sit there quietly. Soo confused, anyone else having an issue like this?

travist’s picture

Here is the presentation....

http://www.mediafront.org/dallas-drupal-days-2011-presenting-media

slater101, have you tried to drush make the project that I created at https://github.com/travist/mediafront_demo? This will allow you to compare your setup with one that works and will let you know what is different.

Thanks,

Travis.

alexmotion’s picture

Thanks Travis !!!

gusaus’s picture

I watched the presentation (thanks!) and was able to get a video working reasonably well. Is it possible to get audio playlists to work similarly to what's described in this D6 tutorial?

http://www.mediafront.org/documentation/drupalmediafront-osm-cms-integra...

alexmotion’s picture

+1

Jooblay.net’s picture

+1 for sure:)

alexmotion’s picture

Hi travis

Is posible this settings :

label.............../...............Type

MovieImage / image field
MovieFile / Link [ drupal link-module] , instead of FILE field ?

< I need a LOCAL/INDOOR LINK no need a FILE UPLOAD FIELD !!! >

please ,sorry for my english

Alex

shubhammakharia’s picture

I need Your Help
I Tried Using Media Module to Embedd YouTube on my Drupal Successful
next
when i upload video using media module; the file upload, but on the node page, ntohing shows up except the link to the file; no player shows up!

enjoylife’s picture

Makharia, is your text format set to filtered HTML, full HTML, or plain text? Make sure it is set to full HTML.

enjoylife’s picture

Category: bug » support
Status: Active » Fixed

The most recent documentation video shows how to set this up. I recommend moving to 7.x.-2.x as setting this up is much easier.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jayvolk’s picture

I am able to create a grid of items, I'm able to add the media player to the top of a view page. All this works well.
Now, what I'd like to do is link the videos below the player to play on the SAME PAGE in the main player on the top.

In your YouTube instruction you said you weren't sure how you were going to resolve this. Has this been resolved? I've just installed the 7.x-2.0-beta4 version.

I can obviously get the the link to go to the node and play the video there, but that's less than optimal.

Playlists while useful for short clips are not optimal as the videos I have to work with are all around 30 minutes each.

I'd point to where I"m having trouble, but the site exists only on my local machine.

Thanks in advance for any help you can provide.

enjoylife’s picture

Hi jayvolk, please see the first part of comment 3 on #1627544-3: Clicking on image throws media into player.

alltooeasy’s picture

Hmm, keep getting tutorials where users have access to a media Player Widget. I have all the necessary modules suggested - any ideas why this is isn't showing.

I think I get how it works, but perhaps I'm missing something? Any help is welcome!

Face + Palm - Still no media player widget - but used file field and media browser to allow a video selection to then be placed/passed correctly to media front. Seems to work.

enjoylife’s picture

If anyone needs help unrelated to this issue, please post to a relevant issue or post a new issue.

Oshun’s picture

I am having a similar issue. I thought it was my WYSIWYG display. My first question is - do you need the Media module in order to upload content or can you use the MediaFront module alone?

travist’s picture

You can use MediaFront as a stand-alone media solution.

Oshun’s picture

Thank you Travist. I will go back and rework. :)

tfawber4’s picture

Status: Closed (fixed) » Active

I have uploaded a video and it will play when NOT logged in at all (ie anonymous user works). If I am logged in as admin or authenticated user, the video will not play. I have checked my permissions and everything is checked for admin. I have heard of an issue where it works when your are logged in and does not for anonymous users. Mine is the exact opposite and I have been racking my brain for hours why this will not work for admin or authenticated users. Any suggestions?

travist’s picture

Open up your web inspector when you are logged in and see if there are any errors on the page.