The Drupal - Dash Player Checklist

This page will go through the complete checklist that you need to get the Dash Player to work. Of course, I will not go into detail what each of these topics means, but you can get that information by walking through the step-by-step tutorial on how to install this player in your system.

  • Make sure you have the following modules installed
    • Dash Player
    • Services
    • AMFPHP (or XMLRPC if you prefer)
    • System Service
    • Node Service
    • User Service
    • Views Service
    • Voting Service (if you wish to use voting)
    • Some Media Module (like FlashVideo, Media Mover, etc).
    • Views (if you would like to have a playlist
    • Voting API (if you would like to have voting)
    • Statistics (if you would like to use the view counter)


  • Check the version of Services module that you are using... If you are using Drupal 6 and your version of Services is 0.9 or less... or if you are using Drupal 5 and your Services is 0.91 or less, you need to make sure that you provide the parameter of api and set it to 1, like this...
    $params['api'] = 1;

  • Make sure you enabled access services, load any node data, load own node data, and access all views for all user groups in the Permissions administrator section.

  • Make sure you created an API Key in the Services administrator section.

  • Make sure that you have specified your domain name along with the API key. The domain name that you have should include the www. For example, the API key domain for this website is www.tmtdigital.com. It is also VERY important that this value is aligned with what you have provided as the baseURL in your config XML file. For example, it would be a problem if you provided http://mysite.com as your baseURL, but then put www.mysite.com as the API Key.

  • Make sure that you have entered all the necessary data in your players configuration file. By default, this file is the dashconfig.xml file in your players config directory. Also please note, that if you do NOT have Clean URL's enabled, that you will need to add the ?q= to your gatewayURL. For example, your gateway URL would be http://{yoursite}/?q=services/amfphp.

  • Make sure you set the Dash Player Path within the Dash Player Settings in your Administrator section.

  • Check your configuration file dashconfig.xml. I have had many support requests when it was just a problem with the configuration file. Here are some common mistakes that have been made...
    • Make sure you remove the <!-- and --> from the opening and closing tags before putting the parameter in. If you put the parameter inside these special tags, it will not work.
    • Do not edit this file using a Rich Text editor. It will add other characters that make it an invalid XML file. Make sure you edit this file using a text editor like Notepad.

  • Make sure that you set up a view to show all your media that you would like to show in the playlist.

  • Make sure that when you add the player to your page that you provide the $params['playlist'] = {yourview}; where you would replace the {yourview} with the view that you set up to show your media.

  • Make sure you set the Input format to PHP Code when you try to use the Dash Player API to embed the player in your page.

  • Use the following format to embed the player in your page...

    <?php
       $params
    ['width'] = 652;
      
    $params['height'] = 432;
      
    $params['playlist'] = 'videos';
       print
    dashplayer_get_player($params);
    ?>