Issue Bug Closed

#22370Content Element Media and Render Type "HTML Embed Element" not working

Ingo 04/01/10, 11:36 updated 10/02/18, 12:25

Description

Add a Content Element Media, Media File was a local .wmv and Render Type was set to “HTML Embed Element”. No output in frontend.

In class.tslib_content, function MEDIA we find a switch ($renderType) that supports the following cases “swf”, “qt”, “media” and a default-case for everything else, that looks for a hook.

renderType from the backend for “HTML Embed Element” is set to “embed” so we run into the default-case which looks for a hook which is not available. instead the case “media” renders the excpected embed-element.

for me to get the embed-element working i just changed

case ‘media’:
…
break;

to

case ‘embed’:
case ‘media’:
…
break;

issue is in 4.3.0 and 4.3.2

(issue imported from #M13991)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.