Youtube support not working

babymission - June 13, 2009 - 08:04
Project:Dash Media Player
Version:6.x-1.6
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

I realized that dashplayer now supports youtube video in a playlist. According to the instructions, what we need to do is to first enabling the Embedded Media Field module and then the Embedded Media Field plugin module for the Dash Media Player. We also need to make sure that you have the latest version of the Dash Media Player since it includes the YouTube JavaScript gateway functions within the dashPlayer.js file.
Once we have both of these modules installed, all you need to do is create a new Embedded Video field in your node type (lets say "video"). This will create a new text field where you can submit the URL of the YouTube video to your video node.

I have done all the above, and also put the below code in the content body text (including the $params['node'] = $node->nid;) below.

<?php
   $params
['width'] = 652;
  
$params['height'] = 432;
  
$params['skin'] = 'orchid';
  
$params['node'] = $node->nid;
  
$params['streamer'] = 'rtmpt://flash-7.simplecdn.net/play';
  
$params['playlist'] = 'flag_bookmarks';
   print
dashplayer_get_player($params);
?>

But the Youtube node cannot be played, all other nodes of internal video/music/picture are playing fine. Could you advise what is wrong/missing for the Youtube support?

#1

babymission - June 13, 2009 - 08:33

It does not work even I take away the code $params['node'] = $node->nid;

#2

babymission - June 14, 2009 - 13:35
Status:active» fixed

#3

travist - June 14, 2009 - 22:02

babymission,

Will you please post what you did to fix the issue you were seeing. This will help others who seem to have the same problem.

Thanks,

Travis.

#4

System Message - June 28, 2009 - 22:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.