Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2011-03-10 02:34:37

CRLin
Member
From: Taiwan
Registered: 2011-02-17
Posts: 65
Website

[MOD]FLASH BBCODE(can embed youtube video)

Download: http://fluxbb.org/resources/mods/flash-bbcode
Works on FluxBB: 1.4.4, 1.4.5, 1.4.7, 1.5.0
Usage:

[flash=width,height]URL of your SWF file[/flash]

Demos:
Embed YouTube video: http://web.dhjh.tcc.edu.tw/~gzqbyr/flux … p?pid=9#p9
Embed MSN video: http://web.dhjh.tcc.edu.tw/~gzqbyr/flux … .php?id=15
Embed yahoo video: http://web.dhjh.tcc.edu.tw/~gzqbyr/flux … .php?id=14
JW PLAYER embed SWF,FLV,MP3,MP4: http://web.dhjh.tcc.edu.tw/~gzqbyr/flux … pid=11#p11
Embed video of photobucket.com: http://web.dhjh.tcc.edu.tw/~gzqbyr/flux … .php?id=13

Last edited by CRLin (2012-06-04 00:17:18)

Offline

#2 2011-03-12 00:24:08

CRLin
Member
From: Taiwan
Registered: 2011-02-17
Posts: 65
Website

Re: [MOD]FLASH BBCODE(can embed youtube video)

Thanks to fluxbb.org, this modification has been published.

Offline

#3 2011-04-24 14:38:15

Dje
Member
Registered: 2011-04-07
Posts: 5

Re: [MOD]FLASH BBCODE(can embed youtube video)

Hi,

I m running your mod

It works with your examples.

I d like to embed one of these single player :

http://www.streamingvideoprovider.co.uk/serv1.html

I try for example to embed this video with the url :

http://www.streamingvideoprovider.co.uk … _play.html

I use this code

[flash=640,480][url=http://www.streamingvideoprovider.com/player0.swf?value=\clip_id=921&color1=#a6a6a6&color2=#a6a6a6&autoStart=0&no_fs=1&native_fs=1&noControls=&repeatVideo=&brandNW=1]http://www.streamingvideoprovider.com/player0.swf?value=\"clip_id=921&color1=#a6a6a6&color2=#a6a6a6&autoStart=0&no_fs=1&native_fs=1&noControls=&repeatVideo=&brandNW=1[/url][/flash]

with src="..." and flashvars"..."

When i submit de post, first, there is grey space, then when i click right on it then press "Play", the player appears without de video content...

I m not far from finding the solution but im lost. Seems to be good when i will have my account and channel (perhaps the url will be different and will provide the content) but why the player does not appear in first..


videoflash.jpg

Last edited by Dje (2011-04-24 16:17:55)


fluxbb 1.4.4 - pack français pour la 1.4.4

mods - toolbar 2.0 - another private messaging system v2.1.3 - facebook on fluxbb i like it v1.1 - awards

Offline

#4 2011-04-24 23:39:40

CRLin
Member
From: Taiwan
Registered: 2011-02-17
Posts: 65
Website

Re: [MOD]FLASH BBCODE(can embed youtube video)

Thanks test, Dje.
I had tested, this mod cann't embed this video with the url :
http://www.streamingvideoprovider.co.uk … _play.html

Offline

#5 2011-04-28 13:39:41

Dje
Member
Registered: 2011-04-07
Posts: 5

Re: [MOD]FLASH BBCODE(can embed youtube video)

Arf..

i will work on it because i need to embed this player on my forum..

If someone have an idea...


fluxbb 1.4.4 - pack français pour la 1.4.4

mods - toolbar 2.0 - another private messaging system v2.1.3 - facebook on fluxbb i like it v1.1 - awards

Offline

#6 2011-04-29 00:26:44

CRLin
Member
From: Taiwan
Registered: 2011-02-17
Posts: 65
Website

Re: [MOD]FLASH BBCODE(can embed youtube video)

Dje wrote:

Arf..

i will work on it because i need to embed this player on my forum..

If someone have an idea...

You can add my another mod iframe tag BBCODE to embed this player.

Another method:
Edit readme.txt

            $flash_tag = '<span class="postimg"><object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="'.$width.'" height="'.$height.'"><param name="movie" value="'.$url.'"><param name="play" value="false"><param name="loop" value="false"><param name="quality" value="high"><param name="allowScriptAccess" value="never"><param name="allowNetworking" value="internal"><embed src="'.$url.'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal" width="'.$width.'" height="'.$height.'"></object></span>';

Offline

#7 2011-04-29 17:00:29

Dje
Member
Registered: 2011-04-07
Posts: 5

Re: [MOD]FLASH BBCODE(can embed youtube video)

Well...

I m happy, because i found something and it works, so i d like to thank you.

I use your iframe mods.

[iframe=640,480]http://www.streamingvideoprovider.co.uk/popplayer.php?it=926&c1=#a6a6a6&c2=#006600&w=640&h=480&p=0&title=Nah+Blood.flv&skin=0[/iframe]

;-)


fluxbb 1.4.4 - pack français pour la 1.4.4

mods - toolbar 2.0 - another private messaging system v2.1.3 - facebook on fluxbb i like it v1.1 - awards

Offline

#8 2011-10-30 01:23:08

frankpeng
Member
Registered: 2009-10-17
Posts: 13

Re: [MOD]FLASH BBCODE(can embed youtube video)

To play a local flv file, it needs 3 parts, first is the http://, what is this? where to download?

Last edited by frankpeng (2011-10-30 02:23:57)

Offline

#9 2011-10-30 12:05:25

Elliene
Member
Registered: 2011-03-17
Posts: 57

Re: [MOD]FLASH BBCODE(can embed youtube video)

I cant find exactly same things in parser php (find this)  big_smile. FluxBB is 1.4.7


"Never believe what you publish, and never publish what you believe"

Offline

#10 2011-10-30 15:46:09

frankpeng
Member
Registered: 2009-10-17
Posts: 13

Re: [MOD]FLASH BBCODE(can embed youtube video)

1.4.7 is quite different than 1.4.6. There are something new we do not know how to do.
Somehow I made it work. But I do not know how to test it to make sure everything is right.

I do not know what I did and why I did it.

There is a

tags_trim = array('img');

I added a

tags_trim = array('flash');

Also, some code I changed to

 'url'   => array('img','flash'),
                'email' => array('img','flash'),
                'topic' => array('img','flash'),
                'post'  => array('img','flash'),
                'forum' => array('img','flash'),
                'user'  => array('img','flash'),
                'img'   => array(),
                'flash' => array(),

I really do not know what I was doing. We need the original author to make a new version for 1.4.7.

Offline

#11 2011-10-31 22:43:18

CRLin
Member
From: Taiwan
Registered: 2011-02-17
Posts: 65
Website

Re: [MOD]FLASH BBCODE(can embed youtube video)

Update to 1.4.7

Offline

#12 2011-11-01 00:29:08

frankpeng
Member
Registered: 2009-10-17
Posts: 13

Re: [MOD]FLASH BBCODE(can embed youtube video)

Thanks CRLin, it works in 1.4.7. Except it won't make a full screen. How can I do that?

Offline

#13 2011-11-02 00:10:15

CRLin
Member
From: Taiwan
Registered: 2011-02-17
Posts: 65
Website

Re: [MOD]FLASH BBCODE(can embed youtube video)

Open include/parser.php
FIND

			$flash_tag = '<span class="postimg"><object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="'.$width.'" height="'.$height.'"><param name="movie" value="'.$url.'"><param name="play" value="false"><param name="loop" value="false"><param name="quality" value="high"><param name="allowScriptAccess" value="never"><param name="allowNetworking" value="internal"><embed src="'.$url.'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal" width="'.$width.'" height="'.$height.'"></object></span>';

REPLACE WITH

			$flash_tag = '<span class="postimg"><object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="'.$width.'" height="'.$height.'"><param name="movie" value="'.$url.'"><param name="allowFullScreen" value="true"><param name="play" value="false"><param name="loop" value="false"><param name="quality" value="high"><param name="allowScriptAccess" value="always"><param name="allowNetworking" value="internal"><embed src="'.$url.'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" play="false" loop="false" quality="high" allowscriptaccess="always" allowfullscreen="true" allownetworking="internal" width="'.$width.'" height="'.$height.'"></object></span>';

Offline

#14 2011-11-03 18:03:08

frankpeng
Member
Registered: 2009-10-17
Posts: 13

Re: [MOD]FLASH BBCODE(can embed youtube video)

很好很好!谢谢谢谢!

Offline

Board footer

Powered by FluxBB