<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hallo Michael Engelke,
das war der richtige Befehl - super - vielen Dank!<br>
_____________________________________________________________________<br>
<br>
Hallo alle,<br>
<br>
<br>
Ich würde jetzt noch gern ein Quicktime-Player - Startbild einbauen.<br>
<br>
<br>
Auf den Google-Suchtip hin (<i>ich hatte nur in PmWiki und Self-Html
gesucht</i>) hab ich unter anderem folgende Seite gefunden:<br>
<br>
<a href="http://quicktime.tc.columbia.edu/users/iml/movies/mtest.html">http://quicktime.tc.columbia.edu/users/iml/movies/mtest.html</a><br>
<br>
Dort gibt es Beipiele, wie ein Startbild integriert wird. U.a. mit
folgender Zeile:<br>
<br>
<font color="#006600"><small>&lt;a
href=<a class="moz-txt-link-rfc2396E" href="rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov">"rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov"</a>&gt;
&lt;img src="<font color="#ff0000">sixties.jpg</font>"&gt; &lt;/a&gt;</small></font><br>
<br>
Ich mach leider bei der Umsetzung in PmWiki keinerlei Fortschritte.<br>
<br>
Ich habs in meiner Befehlszeile versucht<br>
<br>
<font color="#006600"><small>(:quicktime Attach:roomba-01.wmf
height=200 width=270 controller=false loop=false autoplay=false:)</small></font><br>
<br>
und auch im Cookbook<br>
<font color="#cc33cc"><br>
<font color="#006600"><small>&lt;?php<br>
if (!defined('PmWiki'))<br>
    exit ();<br>
<br>
/**<br>
 * This script allows to embed quicktime content. <br>
 * <br>
 * @author Patrick R. Michaud <a class="moz-txt-link-rfc2396E" href="mailto:pmichaud@pobox.com">&lt;pmichaud@pobox.com&gt;</a> <br>
 * @author Sebastian Siedentopf <a class="moz-txt-link-rfc2396E" href="mailto:schlaefer@macnews.de">&lt;schlaefer@macnews.de&gt;</a><br>
 * @version 0.2.1<br>
 * @link <a class="moz-txt-link-freetext" href="http://www.pmwiki.org/wiki/Cookbook/QuickTime">http://www.pmwiki.org/wiki/Cookbook/QuickTime</a>
<a class="moz-txt-link-freetext" href="http://www.pmwiki.org/wiki/Cookbook/QuickTime">http://www.pmwiki.org/wiki/Cookbook/QuickTime</a><br>
 * @copyright by the respective authors 2004-2005<br>
 * @license <a class="moz-txt-link-freetext" href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a> GNU General Public
License<br>
 * @package quicktime<br>
 */<br>
<br>
/*<br>
For Developers<br>
==============<br>
Quicktime Embeded: <a class="moz-txt-link-freetext" href="http://www.apple.com/quicktime/tutorials/embed.html">http://www.apple.com/quicktime/tutorials/embed.html</a><br>
<br>
Version History<br>
---------------<br>
* 0.2 - 2006-01-26 - Schlaefer<br>
** [feature] html Links<br>
** [change] no use of IMapLinkFmt<br>
* 0.1 - initial release - Schlaefer<br>
*/<br>
<br>
define(QUICKTIME, '0.2.1');<br>
<br>
# see <a class="moz-txt-link-freetext" href="http://schlaefer.macbay.de/index.php/PmWikiCookbook/AutoUpdate">http://schlaefer.macbay.de/index.php/PmWikiCookbook/AutoUpdate</a><br>
SDVA ($PmWikiAutoUpdate['QuickTime'] , array(<br>
    'version' =&gt; QUICKTIME, <br>
    'updateurl' =&gt;  <a class="moz-txt-link-rfc2396E" href="http://pmwiki.org/wiki/Cookbook/QuickTime">"http://pmwiki.org/wiki/Cookbook/QuickTime"</a><br>
));<br>
<br>
<br>
SDV($QuickTimeExternalResource, 1);<br>
<br>
Markup('quicktime', '&lt;img', "/\\(:quicktime
(.*?:)(.*?)(\\s.*?)?\\s*?:\\)/e",
"Keep(Quicktime('$1','$2','$3','$pagename'))");<br>
/**<br>
 * Belongs to Markup "quicktime" <br>
 * <br>
 * @param string $imap "Attach:"<br>
 * @param string $path <br>
 * @param string $args for video a height an width parameter is
mandantory<br>
 */<br>
function Quicktime($imap, $path, $args, $pagename) {<br>
    global $UploadFileFmt, $QuickTimeExternalResource;<br>
<br>
    if ($imap == "Attach:") {<br>
        $filepath = FmtPageName("$UploadFileFmt/".$path, $pagename);<br>
        $FileUrl = LinkUpload($pagename, $imap, $path, $imap.$path,
$imap.$path, "\$LinkUrl");<br>
        if (!file_exists($filepath))<br>
            return $FileUrl;<br>
    } elseif ($imap == "http:"){<br>
        $FileUrl = $imap.$path;<br>
        if  ($QuickTimeExternalResource == false)<br>
            return $FileUrl;<br>
    }<br>
    <br>
    if ($FileUrl) {<br>
        $args = ParseArgs($args);<br>
        <br>
        ## object tag<br>
        $out = "&lt;object id=\"id6\"
classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" <br>
        codebase=\<a class="moz-txt-link-rfc2396E" href="http://www.apple.com/qtactivex/qtplugin.cab\">"http://www.apple.com/qtactivex/qtplugin.cab\"</a>";<br>
        if (isset($args['width']))<br>
            $out .= " width=\"".$args['width']."\"";<br>
        if (isset($args['height']))<br>
            $out .= " height=\"".$args['height']."\"";    <br>
        $out .= "&gt;";<br>
        $out .= "&lt;param name=\"src\" value=\"$FileUrl\" /&gt;";<br>
        foreach ($args as $key =&gt; $arg)<br>
            if ($key != '#')<br>
                $out .= "&lt;param name=\"$key\" value=\"$arg\" /&gt;";<br>
        <br>
        ## embed tag<br>
        $out .= "&lt;embed src=\"$FileUrl\"";<br>
        foreach ($args as $key =&gt; $arg)<br>
            if ($key != '#')<br>
                $out .= " $key=\"$arg\"";<br>
        $out .= " type=\"video/quicktime\" class=\"mov\"
pluginspage=\<a class="moz-txt-link-rfc2396E" href="http://www.apple.com/quicktime/download/\">"http://www.apple.com/quicktime/download/\"</a>&gt;&lt;/embed&gt;";<br>
        <br>
        $out .= "&lt;/object&gt;";<br>
        <br>
        return $out;<br>
    }<br>
}<br>
<br>
$LinkFunctions['Quicktime:'] = 'LinkUploadQuicktime';<br>
/**<br>
 * Allows Quicktime:attachment.ext. Only experimental.<br>
 * &lt;br&gt;<br>
 * See LinkUpload() for parameter details  <br>
 */<br>
function LinkUploadQuicktime($pagename, $imap, $path, $title, $txt,
$fmt = NULL) {<br>
    global $UploadFileFmt, $pagename, $PageUrl, $PubDirUrl,
$IMapLinkFmt;<br>
    $filepath = FmtPageName("$UploadFileFmt/".$path, $pagename);<br>
    $IMapLinkFmtTemp = $IMapLinkFmt['Attach:'];<br>
    if (file_exists($filepath))<br>
        $IMapLinkFmt['Attach:'] = "\$LinkUrl";<br>
    $out = LinkUpload($pagename, "Attach:", $path, $title, $txt);<br>
    $IMapLinkFmtTemp['Attach:'] = $IMapLinkFmtTemp;<br>
    if (file_exists($filepath))<br>
        $out = "&lt;embed src=\"$out\" autoplay=false controller=true
loop=false pluginpage=\<a class="moz-txt-link-rfc2396E" href="http://www.apple.com/quicktime/download\">"http://www.apple.com/quicktime/download\"</a>&gt;";<br>
    return Keep($out);<br>
}<br>
?&gt;</small></font></font><br>
<br>
Aber durch meine sehr beschränkten HTML-Kenntnisse ist das Ergebnis
immer negativ.<br>
<br>
Im Google finde ich auch keine Antwort.<br>
<br>
<br>
Kann mir da nochmal jemand unter die Arme greifen?<br>
<br>
<br>
Vielen Dank, Norbert Hirsch<br>
<br>
<br>
</body>
</html>