vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - BBCode: Embed Tune.pk Videos in your forum. (https://vborg.vbsupport.ru/showthread.php?t=301776)

ITDarasgah 08-31-2013 10:00 PM

BBCode: Embed Tune.pk Videos in your forum.
 
1 Attachment(s)
Salam & Hello,

This is <embed> BBCode to EMBED a Tune.pk video in your forum.

I search quite few time to find any available code for the same perpose but not really find any thing like that so here I am posting the same, if any one already shared similar BBcode then kindly pardon me & administration may treat this thread accordingly.

I tested this BBCode in 4.2.1 board but hopefully this will work on all 3.8.x boards.

Add New BBCode


Title: Tune.pk

BB Code Tag Name
: tune

Replacement:
Code:
<iframe width=650 height=360 src=http://tune.pk/player/embed_player.php?vid={param}&width=650&height=360& autoplay=no frameborder=0 allowfullscreen scrolling=no></iframe>
(I fixed video dimensions to 650X360, you can change it as per your forum requirement)

Example: [tune]427422[/tune]
(here you need to put Tune.pk video ID as I entered 427422).

Description: Embed tune.pk videos.

Use {option} NO

Button Image
(Optional) http://www.itdarasgah.com/images/icons/video.png (you can use any 16X16 icon here).

Remove Tag If Empty
YES

Disable BB Code Within This BB Code
YES

Disable Smilies Within This BB Code
YES

Disable Word Wrapping Within This BB Code
YES

Disable Automatic Link Parsing Within This BB Code
YES

SAVE
That's it !!!

Just press CONTINUE if you receive the following message:
(The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes).

How to find Tune.pk video ID?

This is very easy, you just need to view a Tune.pk video URL and a unique ID number is available on it as per below screen
https://vborg.vbsupport.ru/attachmen...5&d=1378020123
(click on image for large view)

Just use this number to embed any video via this BBCode.

Please mark as installed if you use this. :)

Waiting for your feedback & comments.

Best Regards


All times are GMT. The time now is 02:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01697 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete