vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   A liitle help inserting video & swf files into the body of a post. (https://vborg.vbsupport.ru/showthread.php?t=193482)

Stagehandspace 10-13-2008 12:45 AM

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

:confused:Stagehand:confused:

fattony69 10-13-2008 01:49 AM

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]

Stagehandspace 10-13-2008 02:01 AM

Quote:

Originally Posted by fattony69 (Post 1643806)
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

SEOvB 10-13-2008 02:48 AM

Quote:

Originally Posted by Stagehandspace (Post 1643811)
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

Stagehandspace 10-13-2008 04:12 AM

Quote:

Originally Posted by FRDS (Post 1643826)
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

steve3402000 10-24-2008 04:10 AM

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

Stagehandspace 10-24-2008 05:17 PM

Quote:

Originally Posted by steve3402000 (Post 1651587)
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.


All times are GMT. The time now is 01:09 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.04892 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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