vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Flash in posts (https://vborg.vbsupport.ru/showthread.php?t=37867)

brianoneill 04-25-2002 03:58 PM

Flash in posts
 
Is there an easy way to upload flash movies into posts so that they are viewable in the message area?

We use our forum as a company intranet so I am not worried about the usual security issues with flash on open forums.

All I need is a way to upload the movies into a post so that the flash movies actually play in the post.

I searched the posts, I know you can do it by referencing a remote swf file but I want to be able to attached the file to the post.

Its for our designer who is not very technical so I need something easy to use.

Thanks in advance.

Reeve of shinra 04-26-2002 12:45 AM

You can specify types of files that are allowed to be uploaded in the admin panel, as to making it play the movie, maybe you can take a que from how it handles jpgs ....

*waits for someone who knows what there really doing to come along*

scsa20 04-26-2002 02:42 AM

$hit (sorry for my language), this is easy to do, just go to your admin cp and go to:
Custom vB Codes>Add

and put in the following:

vB Code tag: flash
vB Code replacement: < embed src={param } type=application/x-shockwave-flash>< /embed>
vB Code example: [flash ]Your URL to your flash movie just for an ex.[ /flash]
vB Code explanation: Your own explanation
Use {option } ?: No

remember, to remove spaces from [ and flash] and [ and /flash] and anything that's < and > and also anything between { and }

good luck ;)

brianoneill 04-26-2002 07:40 AM

Yeah I know that method, but the thing is I want to be able to upload the flash movie into the forum not reference it from a remote site.

Brian

Julio 11-24-2002 04:31 AM

Is there a way I can set width and height for the flash files? All of the flash files are shown in a small box. I need some to be show as 449 x 82, etc.

FD929 05-11-2005 09:12 PM

Quote:

Originally Posted by Julio
Is there a way I can set width and height for the flash files? All of the flash files are shown in a small box. I need some to be show as 449 x 82, etc.

The replacement code should have been:
Code:

<embed src={param} width=600 height=750 type=application/x-shockwave-flash></embed>
with the width and height adjusted to your liking.

Ayumu Yumi 05-12-2005 01:18 AM

You should use caution when allowing users to upload flash objects into their posts as flash is just as dangerous as HTML (cookie stealing, virus linking, etc.)

Code:

<embed src="{param}" width="600" height="750" type="application/x-shockwave-flash"></embed>
I like to quote parameters :)

Snitz 06-12-2005 10:52 AM

is there a way to let users choose their own dimensions ?


All times are GMT. The time now is 05:34 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.01087 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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