vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Playing Flash and Media Files Inline (https://vborg.vbsupport.ru/showthread.php?t=78235)

Moya 05-31-2005 03:48 PM

There is a risk in playing flash files directly. For flash files, you will have to consider this. Other than that, it is safe to play WMA, MP3 inline

You can check out this link

http://www.aotrangmongmo.com/forum/s...0222#post20222

I setup this forum for guest to post and test out other feature without having to register

Thanks

Osiris2k 05-31-2005 10:16 PM

Quote:

Originally Posted by stitch
There is a risk in playing flash files directly. For flash files, you will have to consider this. Other than that, it is safe to play WMA, MP3 inline

You can check out this link

http://www.aotrangmongmo.com/forum/s...0222#post20222

I setup this forum for guest to post and test out other feature without having to register

Thanks

it doesnt play the file? the screen just stays black?

Quacked 05-31-2005 11:20 PM

I tried doing it, looks ok but the vids don't actually play, test here http://www.quacked.com/chat/showthread.php?p=1#post1

Moya 05-31-2005 11:30 PM

Quote:

Originally Posted by Quacked
I tried doing it, looks ok but the vids don't actually play, test here http://www.quacked.com/chat/showthread.php?p=1#post1


Here is the fix

https://vborg.vbsupport.ru/showpost....1&postcount=28

Quacked 05-31-2005 11:51 PM

Which file do I need to edit to change those?

Thanks alot.

Osiris2k 06-01-2005 12:21 AM

ok I installed this hack but now no attachements show at all...be it *.wmv or even ??? HELP!!!

Moya 06-01-2005 12:26 AM

Quote:

Originally Posted by Quacked
Which file do I need to edit to change those?

Thanks alot.


You need to edit functions_showthread.php

I assume you already edit that file.

Find

$media_controller= "$vboptions[bburl]/attachment.php?attachmentid=";

Replace with

$media_controller= "http://www.yourdomain.com/forum/attachment.php?attachmentid=";

Quacked 06-01-2005 12:30 AM

Worked great, brilliant hack! :nervous:

Osiris2k 06-01-2005 12:32 AM

Quote:

Originally Posted by stitch
You need to edit functions_showthread.php

I assume you already edit that file.

Find

$media_controller= "$vboptions[bburl]/attachment.php?attachmentid=";

Replace with

$media_controller= "http://www.yourdomain.com/forum/attachment.php?attachmentid=";

I did that and still nothiung. It doesnt even show a windows media player window or anything. not even a red X ??? HELP Please

oh and about my above post jpgs and such work but swf or wmv or any other movie files dont

Moya 06-01-2005 08:58 PM

Quote:

Originally Posted by Osiris2k
I did that and still nothiung. It doesnt even show a windows media player window or anything. not even a red X ??? HELP Please

oh and about my above post jpgs and such work but swf or wmv or any other movie files dont

Can you give a link to take a look at?

Osiris2k 06-01-2005 10:07 PM

here ya go

this is the thread I tried to make the post in

Moya 06-01-2005 10:45 PM

Did you add the templates??

Osiris2k 06-01-2005 10:49 PM

yes...here's a jpg.

Moya 06-01-2005 11:00 PM

Hmmm it seems that the variables are not fetched to your browser. I think you have to take a look at your codes addition again.

Moya 06-01-2005 11:58 PM

Update: You are using legacy style. I update the postbit_legacy for you already. They should works now

Have fun

Osiris2k 06-02-2005 12:25 AM

Quote:

Originally Posted by stitch
Hi Eric

I think the preloading or buffering is set locally under window media setup. I don't think we can control it though

there must be some way...

I noticed that if you put more than one file into a thread only one plays...maybe that can be used? or if the mplayer clicks the stop button automatically everytime the vid loads.

mmdmk 06-05-2005 12:17 PM

Hi Stitch,
i must update postbit_legacy, too. otherwise i had a blank screen.
They should works perfectly now.

Please, can you add a inline player for .mpg and .mpeg files?

Greetz mmdmk ;)

turksengel 08-15-2005 11:56 AM

i love this hack but i use 350 could you do on 350 Rc 2

ben_erhan 08-21-2005 09:56 AM

Dear friends,

I instaled this hack but ı cant see any attached file.
mp3,swf,wma there is not any file inside the post.But when ı click the manage the attachments button,ı can see the files.
What is the problem?
I checked lots of times but it is same.I changed postbit legacy but there is not any changing.
I am waitng your help.

tuanluu 09-06-2005 01:01 AM

I install your hack but it seen not working any idea why? can u help me please??

www.luuhoanggallery.com/forums ---> my links

Moya 09-08-2005 07:36 PM

Ben,

Can I take a look at your working link?

tuanluu,

Can you show me the link please?

turksengel

I will work on this for a vb3.5 once my sever is back online

It is fried. It might take awhile for me to get it up and running.

Thanks

tuanluu 09-09-2005 03:26 AM

what link are u talking about?
the link to my site??
www.luuhoanggallery.com/forums

Moya 09-09-2005 05:33 AM

I register and check out a couple music thread. They all work. Show me the one that doesn't work. I will look into it for you .

tuanluu 09-10-2005 09:23 AM

the one that are show on my page are vbcode that I added b4 that I try to add your hack it does not thanks for your help....is your site back on yet?

Moya 09-11-2005 01:40 AM

Hi Tuan

I tried to upload a test file in mp3 but you have a 2mb limitation on your server.

I tried to upload a wma. This file type is not allowed.

Can you look into this for me!

Thanks

tuanluu 09-11-2005 08:00 AM

Okay I will try :)

tuanluu 09-11-2005 08:07 AM

Okay I just add wma extension and allow up to 9 mb :) everything should be fine now right

Moya 09-11-2005 10:03 PM

Quote:

Originally Posted by tuanluu
Okay I just add wma extension and allow up to 9 mb :) everything should be fine now right


Uhmmmm this is what I get

Code:

File Too Large. Exceeds PHP's limit of 2.00 MB.
You will need to increase the upload limitation in the php.ini on your server.

On the second thought, can you give me admin access to your files and forum admin pannel

Borgs8472 09-11-2005 11:29 PM

I'd use this hack if it was only avalible to admins/mods. (because I want my members to have other attachments still)

tuanluu 09-12-2005 05:17 AM

okay I will promote u to be admin okay :)

Moya 09-12-2005 03:37 PM

Borgs8472,

You still have the control over what is moderated or not.

Hi Tuan,

I looked into your board and uploaded a wma song. It works for your board

tuanluu 09-12-2005 03:40 PM

thanks

tuanluu 09-13-2005 02:15 PM

<param name="URL" value="$wmafilenameandlocation"> ------original, but it did not play

I try this and it work

<param name="URL" value="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]">

is the right way to fix it??

Davidinh 09-13-2005 04:07 PM

some update the intruction
if your board using postbit legacy then modify it instead of postbit template
do exactly the same
open postbit legacy then find:
Code:

$post[imageattachments]
                                        </div>
                                </fieldset>
                        </if>

add below it
Code:

<if condition="$show[flashattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attached_flash] $flashfilename </legend>

<div style="padding:$stylevar[formspacer]px">
$post[flashattachments]
</div>
</fieldset>

</if>



<if condition="$show[wmaattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wma] $wmafilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmaattachments]
</div>
</fieldset>

</if>

<if condition="$show[wmvattachment]">
<fieldset class="fieldset">
<legend>$vbphrase[attach_wmv] $wmvfilename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[wmvattachments]



</div>
</fieldset>

</if>
       
<if condition="$show[mp3attachment]">
<fieldset class="fieldset">
<legend>

$vbphrase[attach_mp3] $mp3filename</legend>

<div style="padding:$stylevar[formspacer]px">
$post[mp3attachments]

</div>
</fieldset>

</if>

have fun

and thanks for your hack stitch i learn a lot vbb code from your hack
keep going man

Moya 09-17-2005 06:10 AM

Quote:

Originally Posted by ben_erhan
Dear friends,

I instaled this hack but ı cant see any attached file.
mp3,swf,wma there is not any file inside the post.But when ı click the manage the attachments button,ı can see the files.
What is the problem?
I checked lots of times but it is same.I changed postbit legacy but there is not any changing.
I am waitng your help.


Can I take a look at your site?

Ski-Whiz 10-12-2005 06:22 AM

Is there any way to make this player via a buffer? It waits until it's done downloading before it plays. Not a big deal, but I'm using it with 14 meg files. :D

Moya 10-18-2005 10:57 PM

Quote:

Originally Posted by Ski-Whiz
Is there any way to make this player via a buffer? It waits until it's done downloading before it plays. Not a big deal, but I'm using it with 14 meg files. :D

Set the AutoStart = 0

Ski-Whiz 10-19-2005 12:00 AM

Quote:

Originally Posted by stitch
Set the AutoStart = 0


Well, the file does play, but it waits until it's done downloading. I was hoping something was able to set it, so it would download and play at the same time..

When I hit play, it doesn't play until the file is done downloading it seems. So on a 14meg file, it takes a minute to play...

Maria F. 11-30-2005 01:23 AM

Hi,

Great hack, but...works not by me. I had installed the hack, but the forum displaying 'black' WMV display window.

Please, I need help.
TIA

Ski-Whiz 03-06-2006 01:05 AM

Any plans on porting this to 3.5.x?? Great hack, and nothing for 3.5 and playing attachments...


All times are GMT. The time now is 08:25 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.01350 seconds
  • Memory Usage 1,818KB
  • 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
  • (3)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete