Fixed bug #16214: Bug: Change value of Media(Flash) parameter (Thanks to Janos Thiele)
authorSteffen Kamper <info@sk-typo3.de>
Sat, 6 Nov 2010 10:30:39 +0000 (10:30 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sat, 6 Nov 2010 10:30:39 +0000 (10:30 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9291 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/contrib/flashmedia/flvplayer.swf
typo3/contrib/flashmedia/src/flvplayer.as
typo3/contrib/flashmedia/src/flvplayer.fla
typo3/sysext/cms/tslib/content/class.tslib_content_media.php

index 125e21c..e7249b7 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-06  Steffen Kamper  <steffen@typo3.org>
+
+       * Fixed bug #16214: Bug: Change value of Media(Flash) parameter (Thanks to Janos Thiele)
+
 2010-11-05  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Added feature #7872: htmlArea RTE: Allow CSS-styles for tables without having to activate blockstyle
index 68d0d63..8e89470 100644 (file)
Binary files a/typo3/contrib/flashmedia/flvplayer.swf and b/typo3/contrib/flashmedia/flvplayer.swf differ
index 83dfb82..6acf442 100644 (file)
@@ -62,7 +62,7 @@ if(!_root.file) {
 
 // toggle for autostarting the video
 // you can change the 'true' in 'false'
-if(_root.autoStart == "true") {
+if(_root.autoPlay == "true") {
        autoStart = true;
 } else {
        autoStart = false;
index 09966d6..9c06714 100644 (file)
Binary files a/typo3/contrib/flashmedia/src/flvplayer.fla and b/typo3/contrib/flashmedia/src/flvplayer.fla differ
index 47efbfa..368f746 100644 (file)
@@ -142,7 +142,7 @@ class tslib_content_Media extends tslib_content_Abstract {
                                                if (isset($val['mmParamSet'])) {
                                                        $pName = $val['mmParamName'];
                                                        $pSet = $val['mmParamSet'];
-                                                       $pValue = $pSet == 2 ? $val['mmParamValue'] : ($pSet == 0 ? 'FALSE' : 'TRUE');
+                                                       $pValue = $pSet == 2 ? $val['mmParamValue'] : ($pSet == 0 ? 'false' : 'true');
                                                        $conf['predefined'][$pName] = $pValue;
                                                }
                                        }