1 (edited by dimkalinux 2011-07-31 09:40)

Topic: Fancy Video Tag

Supported video hostings

  • youtube +html5

  • dailymotion +html5

  • vimeo +html5

  • rutube

  • google video

In HTML5 mode video played without Adobe Flash plugin + work on ipad, iphone and etc.
You can turn on or off HTML5 mode in forum settings. Recomended - on.

Screenshot
http://pic.lg.ua/x/2/7f80d6/sm_6cb610a4.png

PunBB 1.3
fancy_video_tag.tar.gz — version 0.3.3

PunBB 1.4
fancy_video_tag-0.4.9.zip

Warnings for PunBB 1.3
1) If you use pun_bbcode with graphical buttons - you need use file /include/cache.php from SVN - http://punbb.informer.com/trac/browser/ … p?rev=1508 download plain text version of this file and replace it on /include/ dir of your forum. Than remove file cache_hooks.php in /cache/ dir. Version cache.php from punbb-1.3.4 have a bug, thats why we need use updated version from punbb trunk.

2) Copy icon for video button from fancy_video_tag dir (video.png) to /extensions/pun_bbcode/buttons/Oxygen/ dir.

2

Re: Fancy Video Tag

cheers for this.

Re: Fancy Video Tag

Beautifully made.
Nice to take advantage of HTML5.

Cheers

4

Re: Fancy Video Tag

Can not input youtube

http://www.youtube.com/watch?feature=pl … WGfs#at=25  big_smile  for sometime

Re: Fancy Video Tag

xper wrote:

Can not input youtube

http://www.youtube.com/watch?feature=pl … WGfs#at=25  big_smile  for sometime

Fixed in 0.3.3 version.

Re: Fancy Video Tag

Version for PunBB 1.4
fancy_video_tag-0.4.5.zip

7

Re: Fancy Video Tag

Delete, pls reupload. Thx

8

Re: Fancy Video Tag

https://github.com/dimkalinux/Fancy-Ext … all/master

Re: Fancy Video Tag

Link updated.

fancy_video_tag-0.4.8.zip

10 (edited by frankpeng 2011-10-16 04:00)

Re: Fancy Video Tag

How to add a local video file such as swf file or flv file?

Re: Fancy Video Tag

Its impossible.
Upload it to youtube or vimeo first.

12 (edited by frankpeng 2011-10-26 01:33)

Re: Fancy Video Tag

I can play a local flash file.

This is the link http://bd78.hnu.schmates.us/swfobject/daolaji.html

This is the page html code.

<!DOCTYPE html>
<head>
<script type="text/javascript" src="/flowplayer-3.2.6.min.js"></script>
</head>
<body>
<a href="http://bd78.hnu.schmates.us/extensions/pun_attachment/daolaji.flv" 
    style="display:block;width:425px;height:300px;" 
    id="player">
</a>
<script language="JavaScript">
    flowplayer("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf");
</script>    
</body>
</html>

The flv file can be uploaded by pun_attachment.
Could you please help me to modify the fancy_video_tag to embed the local flash player into the forum post?

this is the code I changed. It won't work.

   'dailymotion' => array(
                                                'match'                 => '`extensions/pun_attachment/([a-z0-9]+).flv`i',
                                                'uri'                   => 'http://bd78.hnu.schmates.us/%s',
                                                'html5_uri'             => '<iframe frameborder="0" width="640" height="385" src="http://bd78.hnu.schmates.us
/%s"></iframe>',
                                                'width'                 => 640,
                                                'height'                => 385
                                        ),

Re: Fancy Video Tag

No, fancy_video_tag use external players like vimeo.
Maybe later after release new attachment system it changed but now only external video sources.

14 (edited by Koren 2011-11-10 10:03)

Re: Fancy Video Tag

Hello,

I tried to install the extension on a punbb 1.4 forum.
When I activate the extension, I get a bug when I try to create a new topic : a blank page with only the "jump to forum" select box.
I use only official extensions.

Is it a know issue ?

Sorry for bad english

Edit: I now found a php error in the source of the blank page where I get the select box :

<!--var pun_bbcode_bar = document.getElementById("pun_bbcode_bar");if (pun_bbcode_bar) {    pun_bbcode_bar.innerHTML = "<div id="pun_bbcode_wrapper" class="graphical">    <div id="pun_bbcode_buttons"><br /><b>Fatal error</b>:  Using $this when not in object context in <b>/var/www/xk-forum/extensions/pun_bbcode/bar.php(61) : eval()'d code</b> on line <b>10</

Looks like my pun_bbcode_bar is from 1.3 ?

Edit:

OK, MY BAD.
I did a bad update of all of my extensions. I did a clean install and it works now.
Sorry

15 (edited by jerry2yu 2011-11-20 14:12)

Re: Fancy Video Tag

Koren wrote:

Hello,

I tried to install the extension on a punbb 1.4 forum.
When I activate the extension, I get a bug when I try to create a new topic : a blank page with only the "jump to forum" select box.
I use only official extensions.

Is it a know issue ?

Sorry for bad english

Edit: I now found a php error in the source of the blank page where I get the select box :

<!--var pun_bbcode_bar = document.getElementById("pun_bbcode_bar");if (pun_bbcode_bar) {    pun_bbcode_bar.innerHTML = "<div id="pun_bbcode_wrapper" class="graphical">    <div id="pun_bbcode_buttons"><br /><b>Fatal error</b>:  Using $this when not in object context in <b>/var/www/xk-forum/extensions/pun_bbcode/bar.php(61) : eval()'d code</b> on line <b>10</

Looks like my pun_bbcode_bar is from 1.3 ?

Edit:

OK, MY BAD.
I did a bad update of all of my extensions. I did a clean install and it works now.
Sorry


I did an update from 1.3, and am also seeing the same bar.php(61) error. I can't afford to do fresh install. Does anybody know which extension possibly broke bar.php, and should be upgraded to make it work?

Re: Fancy Video Tag

Use version 0.3.3 for punbb 1.3

Re: Fancy Video Tag

Koren wrote:

Hello,

I tried to install the extension on a punbb 1.4 forum.
When I activate the extension, I get a bug when I try to create a new topic : a blank page with only the "jump to forum" select box.
I use only official extensions.

Is it a know issue ?


This is my EXACT same problem.
I'm running 1.4.1 on SQlite - I can't get the video tags to work at all......

Re: Fancy Video Tag

I am will recheck on SQLlite.
Please, check web-server error logs for error and check extension version - for PunBB 1.4 it must be 0.4.9.

19 (edited by Ken1988 2012-01-06 09:25)

Re: Fancy Video Tag

Why didn't I saw this, when I requested this yesterday? O.O
Thank you! big_smile

//update// How to use this function? [YOUTUBE]tag doesn't work[/YOUTUBE]

Re: Fancy Video Tag

Ken1988 wrote:

Why didn't I saw this, when I requested this yesterday? O.O
Thank you! big_smile

//update// How to use this function? [YOUTUBE]tag doesn't work[/YOUTUBE]

Use [video][/video]

Taiwan is a country.
I am sorry for my English.

Re: Fancy Video Tag

dimkalinux wrote:

I am will recheck on SQLlite.
Please, check web-server error logs for error and check extension version - for PunBB 1.4 it must be 0.4.9.

http://img.fae.ro/717dd2.gif

It is the right version.  Now, when I enable it, I don't even get the jump bar - only a blank white screen.  There are no error messages with or without debug turned on...just a blank white screen.

Re: Fancy Video Tag

Show me lists of all installed extensions.

Re: Fancy Video Tag

Attachment
Version 1.0.5

Created by PunBB Development Team
Allows users to attach files to posts.

BBCode buttons
Version 1.3.6

Created by PunBB Development Team
Pretty buttons for easy BBCode formatting.

Broadcast e-mail.
Version 0.2

Created by PunBB Development Team
Add posibility to send e-mail messages to groups of users.

Fancy AddThis
Version 0.7.6

Created by dimka.linux@gmail.com
A PunBB extension that added AddThis widget

Fancy Alerts
Version 1.5.9

Created by dimka.linux@gmail.com
Show alerts for updates in your topics and quotes you posts

Fancy Link Icons
Version 0.3

Created by dimka.linux@gmail.com
A PunBB extension that add icons for some site links

Fancy Stat Counter
Version 0.3.2

Created by dimka.linux@gmail.com
Popular statistic counters

Forum Archive
Version 0.3.9

Created by dimka.linux@gmail.com
Add ability to move forums from main page to archive page.

Forum news
Version 1.1.2

Created by PunBB Development Team
Allow users to mark topics or posts as "news". News is shown on a special page.

Header Image ( Extension disabled )
Version 1.1.3

Created by Eliot Friedman
Adds a logo to the header of the forum.

Post Edit Control
Version 0.6.2

Created by The HungryCoder (updated dimkalinux)
You can control some editing features of posts using this. 1. You can mention number of minutes a post can be edited after its creation. After that time, normal users will be unable to edit while moderators or admins will be able. 2. You can control whether users can edit his/her post after someone replies. 3. You can control whether user can make reply even the last post of topic is created by him/her. By doing this, you can prevent consecutive posts by same user and force them to edit previous post.

Post karma
Version 1.1.2

Created by PunBB Development Team
Adds karma/reputation to posts.

Private Messaging
Version 1.2.10

Created by PunBB Development Team
Allows users to send private messages. This is the first simple version with minimum functions.

Pun tags
Version 1.5.1

Created by PunBB Development Team
Topics are taggable now.

jQuery
Version 1.1.3

Created by PunBB Development Team
A PunBB extension that provide jQuery lib (version 1.6.4)

Re: Fancy Video Tag

Why you use old version of pun_bbcode? Current version pun_bbcode v1.4.18.
Please, use only extensions that updated for PunBB 1.4.

Pun_pm and pun_attachment also outdated. But i think problem in pun_bbcode.

Re: Fancy Video Tag

dimkalinux wrote:

Why you use old version of pun_bbcode? Current version pun_bbcode v1.4.18.
Please, use only extensions that updated for PunBB 1.4.

Pun_pm and pun_attachment also outdated. But i think problem in pun_bbcode.


Sorry - I'm new to all of this. I will try the new version of pun_bbcode and see if that works.  I will let you know - thank you.