vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - Apple QuickTime Embed BB Code (https://vborg.vbsupport.ru/showthread.php?t=157247)

DJRavine 09-06-2007 10:00 PM

Apple QuickTime Embed BB Code
 
Made by DJRavine @ http://WoWps.org


hey guys...

this is a small bb code mod i did for my forums to allow users to post their own videos hosted from their own servers...
its just a small embedded windows media player plug in using the {param} for the link..
simple and easy..
im surprised it wasn't here already.. oh well its still very useful...
if you like the bb code please mark as installed.. ;)

NOTE: the video size is set to a default resolution 640x480px...
it is editable in the replacement var... if you wish to change it...


To Install:
1. Go To Admin CP
2. Scroll down the left nav and select Custom BB Codes
3. Add New BB Code
4. Fill in the following:


Quote:


INSTALLATION
-------------------------------------------------------

UPLOAD
------

quicktime.jpg or any image of your choice to ur webhost...
this will be the icon for the bb code...
INCLUDED IN ZIP BELOW...



Video BB Code
-------------------------------------------------------

---

Name:

HTML Code:

QuickTime BB Code
---
Tag:

HTML Code:

aqt
---
Replacement:

ORIGINAL VERION:
HTML Code:

<EMBED SRC="{param}" WIDTH=640 HEIGHT=480 AUTOPLAY=false CONTROLLER=true LOOP=false PLUGINSPAGE=http://www.apple.com/quicktime/">
ALT VERSION (UNTESTED):
HTML Code:

<object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="640" height="480" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="{param}">
<param name="qtsrc" value="rtsp://realmedia.uic.edu/itl/ecampb5/demo_broad.mov">
<param name="autoplay" value="true">
<param name="loop" value="false">
<param name="controller" value="true">
<embed src="{param}" qtsrc="rtsp://realmedia.uic.edu/itl/ecampb5/demo_broad.mov" width="640" height="480" autoplay="true" loop="false" controller="true" pluginspage="http://www.apple.com/quicktime/"></embed>
</object>



---

Example:

HTML Code:

[aqt]http://wowps.org/demo.mov[/aqt]
---
Description:

Embed a video link from another website...
You can use anything apple quicktime can play...

---
Option:

No


-------------------------------------------------------

Thats it, goto Newthread and create new thread with the video BB code, preview and bingo...
your quicktime video is now embeded straight from an external webhost...

DEMO POST: http://wowps.org/forum/showthread.php?p=10287

PLEASE MARK THIS AS INSTALLED
IF U USE THIS BB CODE ON UR FORUM...

ang2el 09-07-2007 03:57 PM

Thats a great hack. Will it work once install for ever I mean VB 3.7 and future version or we will need to update in every new VB version?

DJRavine 09-08-2007 05:00 AM

indeed it will... its just using a simple object embeded in html...
its all up to the client [web browser] to have the plugin installed...
so it will indeed work on any version of vbulletin...

and check out my media player bb code
https://vborg.vbsupport.ru/showthread.php?t=157062

HFB 12-05-2008 09:29 PM

Is there any way to add an option to expand to full screen? It works quite well with the Internet Archive Films.

Trana 12-28-2008 07:49 PM

Any way to put a play/pause button in there so it doesn't start automatically?


All times are GMT. The time now is 09:56 PM.

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.02139 seconds
  • Memory Usage 1,728KB
  • 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
  • (5)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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