Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In D5 using the jwplayer module I was able to make a call like this.
$params['width'] = 720;
$params['height'] = 440;
$params['file'] = 'viewName';
$params['playlist'] = 'right';
$params['playlistsize'] = '140';
$params['rotatetime'] = '3';
$params['autostart'] = 'true';
$params['link'] = 'http://www.mywebsite.com';
print jwplayer_get_player($params);
where 'file' was the name of my playlist view. For the dash player I'm able to do the same thing pretty much only change the print command to 'dashplayer_get_player($params);. Now that I'm upgrading to D6 and the flv media player I'm wondering if there is a similar call for the flvmediaplayer? There doesn't seem to be a flvmdiaplayer_get_player() function.
Comments
Comment #1
cparrish817 CreditAttribution: cparrish817 commentedfor now what I've done is switch to using the swftools so now my code reads like this.
I'm still using jwplayer as my video player but accessing though swftools, Which just seemed the easier way to go.
Comment #2
arthurf CreditAttribution: arthurf commented