GOOD NEWS: Latest version of DashPlayer works like a charm at first glance!

BAD NEWS: That is if Views is only calling videos of one content type. If I have another video content type specified in the Views playlist, the second type of video does not play in DashPlayer (it's shown though!)

Can someone verify this?

Comments

travist’s picture

Status: Active » Postponed (maintainer needs more info)

How are you embedding the media in the second view content type?... Depending on how the media is embedded might bring me closer to a possible solution.

spiffyd’s picture

I am embedding all my videos (FLV files) the same way: using FlashVideo's video import feature.

More specifically, I have the FV settings for both my content types to have different video import directories.

After import, I run cron and I see nodes get generated for these videos (each having their designated content type).

Typing [video] in any displayed CCK field or the body of these nodes will show the videos without a problem.

The only issue is with DashPlayer... I see all the video content type video nodes listed, but the second video content type (non-primary?) cannot play.

travist’s picture

DMP really doesn't care what content type the video is in. Are you using the Services approach to loading media using "node=" or are you using the "file=" approach to load videos?

For Drupal, here is the code that I recommend using in your Contemplate for both node types.

<?php
$params['width'] = 450;
$params['height'] = 405;
$params['node'] = $node->nid;
print dashplayer_get_player($params);
?>

Does your code look like this?

spiffyd’s picture

I am actually displaying DP in a BLOCK so I can't use contemplate... But in any case, I actually never had the node param specified in my code:

<div style="text-align:center">
<?php
   $params['width'] = 700;
   $params['height'] = 420;
   $params['playlist'] = 'dp_videos';
   $params['autostart'] = 'false';
   $params['autonext'] = 'false';
   print dashplayer_get_player($params);
?>
</div>

Some info about my dp_videos views config:

Basic settings
Name: Defaults
Title: None
Style: Unformatted
Row style: Fields
Use AJAX: No
Use pager: No
Items to display: Unlimited
More link: No
Distinct: No
Access: Unrestricted
Exposed form in block: No
Header: None
Footer: None
Empty text: None
Theme: Information

Sort criteria
Node: Title asc

Filters
Node: Published Yes
Node: Type in Video, Video: Game

I added $params['node'] = $node->nid; and those videos from the second content type still didn't work. This time, their thumbnail images don't display.

What is the other file method?