Still have the problem with the URL (.com or .de) , well all URLs paths on the .de site are the same on the .com site, so maybe that isn't really a problem.
But I have manage to implement quicktime and windows media player -
However, Quicktime works fine, but I couldn't test Windows Media Player, cause I don't know the parameters exactly. Maybe anybody can test and tell.
For the RealPlayer I have no idea how to set it to autosize - it should be like I did, I think, but I had no RealMovie to test.
And if anybody know how to center those in the posts, tell me please.
- I'm no coder, I just had a look at the codes from the others and came up with this:
In "mod_easy_bbcode.php" add where the buttons should appear:
<input type="button" value="QuickTime" name="QuickTime" onclick="insert_text('[quicktime]http://www.yourPath.com/to_the/movie.mov','[/quicktime]')" />
<input type="button" value="Real" name="RealPlayer" onclick="insert_text('[real]http://www.yourPath.com/to_the/movie.rpm','[/real]')" />
<input type="button" value="WMP" name="Windows Media Player" onclick="insert_text('[wmp]http://www.yourPath.com/to_the/movie.wmv','[/wmp]')" />
And here for the "parser.php"
#
#---------[ 1. OPEN ]---------------------------------------------------------
#
include/parser.php
#
#---------[ 2. FIND (line: 316) ]---------------------------------------------
#
'#\[u\](.*?)\[/u\]#s',
#
#---------[ 3. AFTER, ADD ]---------------------------------------------------
#
'#\[quicktime\]([^\[]*?)\[/quicktime\]#s',
'#\[real\]([^\[]*?)\[/real\]#s',
'#\[wmp\]([^\[]*?)\[/wmp\]#s',
#
#---------[ 4. FIND (line: 326) ]---------------------------------------------
#
'<span class="bbu">$1</span>',
#
#---------[ 5. AFTER, ADD ]---------------------------------------------------
#
'<embed type="video/quicktime" src="$1" width="480" height="289" align="middle" scale="aspect" autoplay="false" controller="true" loop="false" border="0" bgcolor="transparent" cache="true" pluginspage="http://www.apple.com/quicktime/download/"></embed>',
'<embed type="audio/x-pn-realaudio-plugin" src="$1" controls="ImageWindow,ControlPanel,StatusBar" width="480" height="289" maintainaspect="true" center="true">',
'<embed type="video/x-ms-asf-plugin" align="center" src="$1" width="480" height="289" autosize="true" autostart="true" showcontrols="true" loop="false" border="0" bgcolor="transparent" showdisplay="false" animationatstart="false" transparentatstart="true" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></embed>',
#
#---------[ 6. SAVE/UPLOAD ]-------------------------------------------------
#