JBosir
Member
In form, modify, fileupload with mp4 video, is not displayed in firefox and explorer. This I think is for the plugin. Doing this change in "plugin \ fabrik_element \ fileupload \ models \ video.php" works (line 119):
by:
Would be good if parameter $ w $ h (height and width) are taken from:
element, fileuplod, display, max width and max height
This is an idea if what you have into consideration.
Thank You.
Code:
$this->output="<object width=\"$w\" height=\"$h\" classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\">
<param name=\"src\" value=\"$src\">
<param name=\"autoplay\" value=\"false\">
<param name=\"controller\" value=\"true\">
<embed src=\"$src\" width=\"$w\" height=\"$h\" autoplay=\"false\" controller=\"true\" pluginspage=\"http://www.apple.com/quicktime/download/\">
</embed>
Code:
$this->output = "<object width=\"$w\" height=\"$h\" classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\">
<param name=\"src\" value=\"$src\">
<param name=\"autoplay\" value=\"false\">
<param name=\"controls\" value=\"true\">
<video src=\"$src\" width=\"$w\" height=\"$h\" autoplay=\"false\" controls=\"true\" pluginspage=\"http://www.apple.com/quicktime/download/\">
</video>
Would be good if parameter $ w $ h (height and width) are taken from:
element, fileuplod, display, max width and max height
This is an idea if what you have into consideration.
Thank You.