<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[URL Blacklist — FLV Player BBCode - manifest.xml]]></title>
	<link rel="self" href="http://www.keydogbb.info/feed-atom-topic75.xml"/>
	<updated>2011-12-30T14:17:00Z</updated>
	<generator>PunBB</generator>
	<id>http://keydogbb.info/topic75-flv-player-bbcode-manifestxml.html</id>
		<entry>
			<title type="html"><![CDATA[FLV Player BBCode - manifest.xml]]></title>
			<link rel="alternate" href="http://keydogbb.info/post280.html#p280"/>
			<content type="html"><![CDATA[<p>This is the complete and working manifest.xml - should I change things I plan to publish here. If you want to subscribe the topic....</p><div class="codebox"><pre><code>&lt;extension engine=&quot;1.0&quot;&gt;
    &lt;id&gt;flv_bbcode_punbb&lt;/id&gt;
    &lt;title&gt;FlvBBcode&lt;/title&gt;
    &lt;version&gt;1.0.0&lt;/version&gt;
    &lt;description&gt;Adds FLV BBCodes to allow FLV embeding on your forum. Users just need to put it URL of file and add the bbCode FLV. Tweaking to parameters see http://www.longtailvideo.com/players/jw-flv-player/&lt;/description&gt;
    &lt;author&gt;KeyDog&lt;/author&gt;
    &lt;minversion&gt;1.3.0&lt;/minversion&gt;
    &lt;maxtestedon&gt;1.3.2&lt;/maxtestedon&gt;
    &lt;hooks&gt;
        &lt;hook id=&#039;ps_do_bbcode_replace&#039;&gt;&lt;![CDATA[
        $pattern[] = &#039;#\[flv\](.*?)\[/flv\]#&#039;;
        $replace[] = &#039;&lt;object width=&quot;520&quot; height=&quot;360&quot; data=&quot;&#039;.$ext_info[&#039;path&#039;].&#039;/player.swf&quot; classid=&quot;clsid:d27cdb6e-ae6d-11cf-96b8-444553540000&quot; codebase=&quot;http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;&#039;.$ext_info[&#039;path&#039;].&#039;/player.swf&quot; /&gt;&lt;param name=&quot;menu&quot; value=&quot;false&quot; /&gt;&lt;param name=&quot;quality&quot; value=&quot;best&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;param name=&quot;flashvars&quot; value=&quot;autostart=true&amp;height=520&amp;width=360&amp;file=$1&quot; /&gt;&lt;embed src=&quot;&#039;.$ext_info[&#039;path&#039;].&#039;/player.swf&quot; width=&quot;520&quot; height=&quot;360&quot; menu=&quot;false&quot; allowfullscreen=&quot;true&quot; flashvars=&quot;autostart=true&amp;height=520&amp;width=360&amp;file=$1&quot; type=&quot;application/x-shockwave-flash&quot; pluginspage= &quot;http://www.macromedia.com/go/getflashplayer&quot;/&gt;&lt;/embed&gt;&lt;/object&gt;&#039;;
        
        ]]&gt;&lt;/hook&gt;
        &lt;hook id=&#039;ps_preparse_tags_start&#039;&gt;&lt;![CDATA[
        
        // Added by KeyDog
        $tags[] = &#039;flv&#039;;
        $tags_opened[] = &#039;flv&#039;;
        $tags_closed[] = &#039;flv&#039;;
        
        ]]&gt;&lt;/hook&gt;
        
        
        &lt;hook id=&quot;he_new_bbcode_link&quot;&gt;&lt;![CDATA[

        // add lang file
        if (file_exists($ext_info[&#039;path&#039;].&#039;/lang/&#039;.$forum_user[&#039;language&#039;].&#039;.php&#039;)) {
        require($ext_info[&#039;path&#039;].&#039;/lang/&#039;.$forum_user[&#039;language&#039;].&#039;.php&#039;);
        } else {
            require($ext_info[&#039;path&#039;].&#039;/lang/English.php&#039;);
        }
        $lang_help = array_merge($lang_help, $lang_help_flv);
        ?&gt;
        &lt;div class=&quot;entry-content&quot;&gt;
            &lt;code&gt;[flv]&lt;?php echo $lang_help[&#039;flv_uri&#039;] ?&gt;[/flv]&lt;/code&gt;&lt;span&gt;&lt;?php echo $lang_help[&#039;produces&#039;] ?&gt;&lt;/span&gt;
            &lt;?php echo $lang_help[&#039;flv_display&#039;] ?&gt;
        &lt;/div&gt;&lt;?php

        ]]&gt;&lt;/hook&gt;
    &lt;/hooks&gt;
&lt;/extension&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[KeyDog]]></name>
				<uri>http://keydogbb.info/user2.html</uri>
			</author>
			<updated>2011-12-30T14:17:00Z</updated>
			<id>http://keydogbb.info/post280.html#p280</id>
		</entry>
</feed>

