vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Playing Windows Media Files Inline Using Plugin (https://vborg.vbsupport.ru/showthread.php?t=99871)

Moya 11-03-2005 08:23 AM

Did you have a source code modification version? I disable the plug in and it works.

I think you should use file system for attachment.

cbr929rrerion 11-03-2005 10:42 AM

wow.. I woke up this morning to working media..

Thank you so much.. that rocks.. I appreciate all your help..

I do have 1 request and 1 concern..

1) How can I make it not auto start.

2) If you click the link under the video as to download it, if gives you a bunch of gibberish code...

again thanks for all you have done...

cbr929rrerion 11-03-2005 11:16 AM

well I tried to upload and avi file and all it gave me was the link, it did not play inline, all i do is type my message, click manage attachements, upload it and press submit..

do I have to do anything special to get it to play inline?

Can you try to upload 1 of each file type and see if it works and also check the link code at the bottom... it says the file name but when ya click it ya get gibberish...

davidw 11-03-2005 12:07 PM

I have the file system for attachments (as opposed to database) - I had removed all entries (or commented out, I should say) in the file edits regarding the previous version.

I'll have some time in a little bit to check it out again.

Moya 11-03-2005 03:42 PM

Quote:

Originally Posted by cbr929rrerion
well I tried to upload and avi file and all it gave me was the link, it did not play inline, all i do is type my message, click manage attachements, upload it and press submit..

do I have to do anything special to get it to play inline?

Can you try to upload 1 of each file type and see if it works and also check the link code at the bottom... it says the file name but when ya click it ya get gibberish...


When it gives gibberish, it means that it try to use browser to open the file data stream. I have test out the avi on my board.



The avi was added for the 0 file edit version. To be able to play this avi, open includes/class_postbit

Look for Case 'wmv':

and add case 'avi':

under that one.

BTW: You should move your attachements to file system. Uploading and storing media files on your database will cause stress on your db.

To stop the auto playing, look for autostart = 1 under each attachment template and put it equals 0

Moya 11-03-2005 03:51 PM

Quote:

Originally Posted by christianb
I have the file system for attachments (as opposed to database) - I had removed all entries (or commented out, I should say) in the file edits regarding the previous version.

I'll have some time in a little bit to check it out again.


Hi Christianb,

Did you do any mod to class_postbit, other than this hack? If you you didn't, then the easiest way is the replace this file with the file from your download package from vbulletin.

davidw 11-03-2005 04:27 PM

I posted a reply after you tested.
This morning I had replaced the files with my original (before I used the other inline hack) and tried from fresh using this hack (no file edit) - I'll have to check (go through my installs) and see if any I have used incorporated this file.

cbr929rrerion 11-03-2005 05:26 PM

its still not working.. any ideas? I can upload them but the do not play inline?

Moya 11-03-2005 07:00 PM

Quote:

Originally Posted by cbr929rrerion
its still not working.. any ideas? I can upload them but the do not play inline?

It is playing on my browser

Have fun

cbr929rrerion 11-03-2005 07:05 PM

Ok.. I uploaded a .avi, .mp3, .wma, .wmv, and .swf and only .wma works, avi just shows as attached and a link, mp3, wmv, show nothing and swf shows wierd text on post, Window Media Audio ยป

Please help..

I will try and move to file system now..


All times are GMT. The time now is 12:57 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.01214 seconds
  • Memory Usage 1,739KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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