Index: t3lib/class.t3lib_parsehtml.php
===================================================================
--- t3lib/class.t3lib_parsehtml.php (revision 7796)
+++ t3lib/class.t3lib_parsehtml.php (working copy)
@@ -965,7 +965,7 @@
*/
function prefixResourcePath($main_prefix,$content,$alternatives=array(),$suffix='') {
- $parts = $this->splitTags('embed,td,table,body,img,input,form,link,script,a',$content);
+ $parts = $this->splitTags('embed,td,table,body,img,input,form,link,script,a,param',$content);
foreach ($parts as $k => $v) {
if ($k%2) {
$params = $this->get_tag_attributes($v);
@@ -1011,6 +1011,16 @@
$somethingDone=1;
}
break;
+ // value attribute
+ case 'param':
+ $test = $params[0]['name'];
+ if ($test && $test === 'movie') {
+ if ($params[0]['value']) {
+ $params[0]['value'] = $this->prefixRelPath($prefix, $params[0]['value'], $suffix);
+ $somethingDone = 1;
+ }
+ }
+ break;
}
if ($somethingDone) {
$tagParts = preg_split('/\s+/s',$v,2);