Project

General

Profile

Actions

Bug #35006

closed

Content Element Media missing slash

Added by Björn Paulsen over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2012-03-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In the file typo3/sysext/cms/tslib/content/class.tslib_content_shockwaveflashobject.php

must be a slash in the line 85:

Wrong:
$conf['flashvars.']['file'] = $prefix . $filename;

Right:
$conf['flashvars.']['file'] = $prefix . '/' .$filename;

because it will be render this and this is wrong:
<object type="application/x-shockwave-flash" data="typo3/contrib/flashmedia/flvplayer.swf" width="600" height="400" id="mmswf4f673801a5076" style="visibility: visible; "><param name="quality" value="high"><param name="menu" value="false"><param name="allowScriptAccess" value="sameDomain"><param name="allowFullScreen" value="true"><param name="flashvars" value="file=http://www.*+domain.defileadmin+*/ContentImages/video.flv"></object>

right will be:
<object type="application/x-shockwave-flash" data="typo3/contrib/flashmedia/flvplayer.swf" width="600" height="400" id="mmswf4f673801a5076" style="visibility: visible; "><param name="quality" value="high"><param name="menu" value="false"><param name="allowScriptAccess" value="sameDomain"><param name="allowFullScreen" value="true"><param name="flashvars" value="file=http://www.*+domain.de/fileadmin+*/ContentImages/video.flv"></object>

Actions

Also available in: Atom PDF