Hi I hava created a vocabulary with to terms hd and stadard
and i use this code

  $params['width'] = 652;
  $params['height'] = 432;
  $params['playlist'] = 'videos';
  $params['linkarg'] = 'standard';
  $params['linktext'] = 'Standard';
  $params['linkindex'] = '0';
  $params['linkarg2'] = 'hd';
  $params['linktext2'] = 'high def';
  $params['linkindex2'] = '0';
  dashplayer_get_player($params);

but the problem is tha all videos that is in stadard and in hd is showing in High def and in stadard.

Comments

travist’s picture

Can you send me a link to what you are seeing?... It might help if I also did some debugging for your particular case.... It sounds like you are trying to do the same thing that I am doing in my main Dash Player Page at http://www.tmtdigital.com/project/dash_player. Here is the configuration that I used for this player... (to get rid of the "all" tab as well). My "standard" taxonomy ID is 12, and my "High Definition" taxonomy ID is 12.

<?php
$params['width'] = 650;
$params['height'] = 425;
$params['playlist'] = 'videos';
$params['linktext1'] = 'High Def';
$params['linkarg1'] = '11';
$params['linkindex1'] = 0;
$params['linkalltext'] = 'standard';
$params['arg1'] = '12';
print dashplayer_get_player($params);
?>
travist’s picture

Status: Active » Postponed (maintainer needs more info)
wibbla’s picture

Hi it works now i added a wrong argument in the views.
and thanks for the code.

travist’s picture

Status: Postponed (maintainer needs more info) » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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

publishing’s picture

Version: 6.x-1.0-beta4 » 5.x-1.0-beta6

Hello,

I have read all of the documentation and successfully, I think installed, the Dash Media Player.

However, I have one question that I am not sure of . Where does the code come from which allows the Dash Player to play? I am speaking of the various views, params; flash variable etc.... ! Does the code need to be manually constructed from the various params and flash vars table or is there some type of wizard which produces this code? Is the code set, then pulled in views?

Please advise,

Thanking you in advance.

spiffyd’s picture

The code comes from Travis, who coded the thing from scratch :P

Open notepad and view the code in the modules?

If this is a configuration question, read the documentation.

publishing’s picture

Thank you Spiffyd,

My question @ code my have been a little ambiguous. More accurate is where does the arguments come from such as:

$params['width'] = 650;
$params['height'] = 425;
$params['playlist'] = 'videos';
$params['linktext1'] = 'High Def';
$params['linkarg1'] = '11';
$params['linkindex1'] = 0;
$params['linkalltext'] = 'standard';
$params['arg1'] = '12';
print dashplayer_get_player($params);

For instance, I believe the JW Player has a wizard which spits out the needed html to embed in a website. While the Dash Player application is php based, I was just wandering if there was a similar type of wizard to spit out the various param; flashvars etc...... based on a desired player configuration ?

Thanks Again,