Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2008, 01:45 AM
Stagehandspace Stagehandspace is offline
 
Join Date: Jun 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default A liitle help inserting video & swf files into the body of a post.

Hello one and all.

Please bare with me being that I am "fresh" to the coding aspect of my forum.

I am trying to insert an avi video and (or) a swf file into the body of a post. I have had a friend take care of my interests in the past and he is on vacation . I remember him telling me to wrap the image. I understand the wrap part but am befuddled on what I should wrap the video and then what I wrap the swf. with?

Could some one straighten out this grumpy old mans problem?

Thanx in Advance

Regards

Stagehand
Reply With Quote
  #2  
Old 10-13-2008, 02:49 AM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To do this, you should make a custom bb code so you won't have to use html code.

HTML Code:
<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows? Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="MOVIE NAME HERE">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="MOVIE NAME HERE" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>
Thats what I use for the bb code originally, here is it when it is going into:

HTML Code:
<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows? Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="{param}">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="{param}" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>
and then put the brackets as like movies:

so when you put your avi or mpg or whatever in, it will look like:

Code:
[movie]myawesomemovie.avi[/movie]
Reply With Quote
  #3  
Old 10-13-2008, 03:01 AM
Stagehandspace Stagehandspace is offline
 
Join Date: Jun 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fattony69 View Post
To do this, you should make a custom bb code so you won't have to use html code.

HTML Code:
<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows? Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="MOVIE NAME HERE">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="MOVIE NAME HERE" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>
Thats what I use for the bb code originally, here is it when it is going into:

HTML Code:
<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows? Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="{param}">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="{param}" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>
and then put the brackets as like movies:

so when you put your avi or mpg or whatever in, it will look like:

Code:
[movie]myawesomemovie.avi[/movie]
Thanx Kindly for the quick reply

The code has been written by my web master, BUT I could not remember what to wrap the file with. So yo have covered the avi but what would i wrap swf files with?

Cheers
Reply With Quote
  #4  
Old 10-13-2008, 03:48 AM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stagehandspace View Post
Thanx Kindly for the quick reply

The code has been written by my web master, BUT I could not remember what to wrap the file with. So yo have covered the avi but what would i wrap swf files with?

Cheers
if the bbCode already exisits you can find it in the AdminCP -> Custom bbCode -> bbCode Manager
Reply With Quote
  #5  
Old 10-13-2008, 05:12 AM
Stagehandspace Stagehandspace is offline
 
Join Date: Jun 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FRDS View Post
if the bbCode already exisits you can find it in the AdminCP -> Custom bbCode -> bbCode Manager
Thanx for the quick reply

In the bbCode Manager the following is what I found

<div><center><embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" showstatusbar="1" EnableContextMenu="false" autostart="false" width="450" height="300" transparentstart="1" loop="0" controller="true" src="{param}"></embed></center></div>

So I tried to post with pasting the below code into a post and had no luck,

[vid]www.myserverlocation/My Downloads/cablewrap.avi[/vid]

I have no idea where I have went wrong! (LOL)

I am also wanting to know how I would insert a swf file like a vid, is this possible also?

I will wait patiently for some assistance

Cheers
Reply With Quote
  #6  
Old 10-24-2008, 05:10 AM
steve3402000's Avatar
steve3402000 steve3402000 is offline
 
Join Date: Nov 2004
Location: Detoilet
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

avi's dont stream, Id suggest converting with DIVX, if you imbed a Avi youll be waiting all day for it to load, they are the biggest, clearest, and take about 2 gigs a min at hi res. I converted a 2 gig Avi to a DIVX file, of about 120 megs, and it streams,
Still dont know how to imbed a divx yet, but I did do the youtube imbedding with the bbcode

Steve
Reply With Quote
  #7  
Old 10-24-2008, 06:17 PM
Stagehandspace Stagehandspace is offline
 
Join Date: Jun 2008
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steve3402000 View Post
avi's dont stream, Id suggest converting with DIVX, if you imbed a Avi youll be waiting all day for it to load, they are the biggest, clearest, and take about 2 gigs a min at hi res. I converted a 2 gig Avi to a DIVX file, of about 120 megs, and it streams,
Still dont know how to imbed a divx yet, but I did do the youtube imbedding with the bbcode


Steve
I am now using the newest AME Mod and have done just fine with the stock youtube and will be adding the DJ AME Local Host files soon. I will post back on my results when I get it done.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:48 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.04712 seconds
  • Memory Usage 2,241KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete