Hello,

I have an news content type that will allow users to upload up to 10 videos to support the actual content for that node. I have setup the presets, fields, and formatters. I added 5 videos to a piece of news content, but only 1 video player appears and it only plays 1 video; not all five. How can I setup all the videos on the node to have separate miniplayers as in the video gallery grid example? How can I setup all the videos on the node to play using 1 videoplayer? What video options are supported for videos attached to node content such as news or blog?

It also seems the same limitations/restrictions exist for remote videos using the URL text field. Can someone please confirm?

Any advice is greatly appreciated?

Thanks
Melissa

Comments

caskraker’s picture

Confirm. Same here: got 2 video's in a node and OSM only plays the first in both players. It seems Mediafront is unable to handle more than one video per node.

lorisbel’s picture

I think the problem is due to usage of css ids on osm player theme. If you have more then one video on the same node then you have duplicated ids and so mediafront javascript crashes! Sorry for my poor english. We need to rewrite script using css classes.

antoinetooley’s picture

Hey, is it possible to have 2 different mediafront players loaded onto the same page (using views and panels) playing video from nodes of different content types? I have tried but so far can only get one player or the other to load but never both at the same time. Is this something to do with the themes using css ids rather than classes?
Would really love some help with this!
Cheers in advance, I really love how simple mediafront has made things for me!!

travist’s picture

Issue tags: +Documentation

Ok, so I think this is a documentation issue. You cannot create a playlist by uploading multiple videos to the same field. To mediafront, this means "This is the same video encoded 5 different ways, so pick the best one to play."

What you want to do to accomplish this is to build a view that shows all the uploaded files attached to that field provided the Content ID (as a contextual filter) for that node. You can then use Panels to create a variant for your media node to add that view to the node display and then within panels provide the Node being viewed as the value of the contextual argument. This will give you the interface that you are wanting.

Thanks,

Travis.

stevensunsunsun’s picture

Hi,

Did you ever get this to work?

I've got two videos on the same page by adding some css but only the first one shows in both video players.

semanthis’s picture

This problem can be soved:
Use https://drupal.org/project/eva to embed a view into your Node-Content. The view should not load content but files (first screen of the view). Under advanced add the relationship "content using name-of-your-mediafield". Add the contextual filter "Nid". In the settings of Your display set Arguments to "id". As format choose "MediaFront Player" and adjust the settings. I hope this soves Your problems. Just to mention this will create some other problems:
-only the default template will work
-pager settings in the preset-player-settings will be ignored.

travist’s picture

Issue summary: View changes
Status: Active » Fixed

I believe that I have a fix for this issue and committed it to the latest DEV. Please try the latest version which should be rebuilt tomorrow.

Status: Fixed » Closed (fixed)

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