hi community,
habe erstmalig eine Flash-Animation eingebunden (eigenes Modul mit output CMS_SWF[1]) und festgestellt, dass im Backend das Flash-Movie in der Vorschau angezeigt wird, nicht jedoch im Editier-Modus. Hier erscheint nur der "SWF-Button".
Was muss ich anstellen, um den Movie im Editier-Modus angezeigt zu bekommen?
Danke für Eure Hilfe
Wolfgang
4.4.0 flash in backend-editing nicht angezeigt
-
- Beiträge: 74
- Registriert: Fr 7. Nov 2003, 11:35
- Wohnort: München
- Kontaktdaten:
na ja ich kenne das bestehende CMS_SWF nicht, ich verwende ne eigene version für die con_type wo ich dieses problem bis jetzt nicht hatte...
die output version für das einbinden eines flash 5 movies sieht bei mir so aus
hier meine version der con_type CMS_SWF
läuft bei mir unter contenido 4.4.2
die output version für das einbinden eines flash 5 movies sieht bei mir so aus
Code: Alles auswählen
<?php echo "CMS_SWF[1]"; ?>
Code: Alles auswählen
/**
* CMS_SWF
*/
$tmp = $a_content['CMS_SWF'][$val];
$tmp = urldecode($tmp);
$tmp = AddSlashes(AddSlashes($tmp));
$tmp = str_replace("\\\'","'",$tmp);
$sql = "SELECT * FROM ".$cfg["tab"]["upl"]." WHERE idclient='".$client."' AND idupl='".$tmp."' AND filetype = 'swf'";
if ( !is_object($db2) ) $db2 = new DB_Contenido;
$db2->query($sql);
$tmp = '';
if ( $db2->next_record() ) {
$tmp_swf = $cfgClient[$client]["upload"] . $db2->f("dirname") . $db2->f("filename");
$aImgSize = @getimagesize($tmp_swf);
$width = $aImgSize[0];
$height = $aImgSize[1];
if ( $edit ) { $tmp .= '<table cellspacing="0" cellpadding="0" border="0"><tr><td>'; }
$tmp .='
<object id="swf_object"
name="movie"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width="'.$width.'"
height="'.$height.'">
<param name="movie" value="'.$tmp_swf.'">
<param name="quality" value="high">
<param name="menu" value="0">
<param name="bgcolor" value="#FFFFFF">
<embed id="swf_object"
name="movie"
type="application/x-shockwave-flash"
src="'.$tmp_swf.'"
quality="high"
bgcolor="#FFFFFF"
menu="0"
width="'.$width.'"
height="'.$height.'"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
';
if ( $edit ) {
$tmp .= '</td></tr><tr><td><a href="'.$sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_SWF&typenr=$val").'"><img src="'.$cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"].'but_editswf.gif" border="0"></a></td></tr></table>';
}
} else {
if ( $edit ) {
$tmp = '<br><a href="'.$sess->url("front_content.php?action=10&idcat=$idcat&idart=$idart&idartlang=$idartlang&type=CMS_SWF&typenr=$val").'"><img src="'.$cfg["path"]["contenido_fullhtml"].$cfg["path"]["images"].'but_editswf.gif" border="0"></a>';
}
}
$tmp = urldecode($tmp);
$tmp = AddSlashes(AddSlashes($tmp));
$tmp = str_replace("\\\'","'",$tmp);