Download & Extend

Setting QT Background color

Project:VideoField
Version:6.x-6.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:Quicktime

Issue Summary

It would be nice to be able to set the bgcolor of a quicktime file.
I did it by modifiying the common.inc file.... but ofcourse this is site wide.

You can set the background color of quicktime files in the common.inc file.
ad this line change the color to whatever you like.

around line 257
// params will be passed to both IE or not IE browsers
//GMM: kioskmode enabled so users don't bypass download security video through player
$output .= '

' . "\n"

Comments

#1

oops

this is what to add

  <param name="BGCOLOR" value="#000000" />

or

<param name="BGCOLOR" value="none" />  

#2

one more time....

  // params will be passed to both IE or not IE browsers
  //GMM: kioskmode enabled so users don't bypass download security video through player
   $output .= '<param name="src" value="'. $video .'" />
              <param name="AUTOPLAY" value="'.(variable_get('video_autoplay', TRUE) ? TRUE : FALSE).'" />
              <param name="KIOSKMODE" value="true" />
              <param name="BGCOLOR" value="#221E1F" />      
              <param name="CONTROLLER" value="true" />' . "\n"
   . //_video_get_parameters($node) .
   '<p>'. t('Your browser is not able to display this multimedia content.') .'</p>
</object>'; // only one </object> needed becouse only one opening tag has been parsed by browsers
nobody click here