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)
-   -   Embedded media player in post (https://vborg.vbsupport.ru/showthread.php?t=72162)

ericgtr 11-29-2004 07:05 PM

Quote:

Originally Posted by fatalsex
Great hack... JUST GREAT..
Perfect support.
man you are good!!!!
Thank you for this usefull hack.

Glad you are up and running now fatalsex. Stitch, thanks for for steering me into the right direction with this. :)

Moya 11-29-2004 07:29 PM

Quote:

Originally Posted by ericgtr
Glad you are up and running now fatalsex. Stitch, thanks for for steering me into the right direction with this. :)

huh I didn't do anything :nervous: :nervous:

MrNase 11-30-2004 01:44 PM

<param name="baseURL" value>

Should be

<param name="baseURL" value="http://YOURDOMAIN.com/YOURFORUMS> or something :)

ericgtr 11-30-2004 09:25 PM

Quote:

Originally Posted by MrNase
<param name="baseURL" value>

Should be

<param name="baseURL" value="http://YOURDOMAIN.com/YOURFORUMS> or something :)

That may be an option but it's not needed for this :)

KW802 12-01-2004 05:12 PM

[high]* KW802 clicks install for future usage/reference. :D[/high]

docvader 12-14-2004 05:02 AM

Works great. Very imaginative and creative. But, you have to make more changes if you want to upload video, yes?

Quote:

Also, since this bbcode is the Windows Media Player it may also be able to play .avi, .wmv, .mpg etc. So to broaden this you can change the [MP3] [/MP3] tag to something else like [MEDIA] [/MEDIA] for example.
This does not change the default ".mp3" that pops up within the new media tags, as a file extension. Or, have I done something wrong?

rich

ericgtr 12-14-2004 12:31 PM

Quote:

Originally Posted by docvader
Works great. Very imaginative and creative. But, you have to make more changes if you want to upload video, yes?



This does not change the default ".mp3" that pops up within the new media tags, as a file extension. Or, have I done something wrong?

rich

Right, changing it to [MEDIA] (or anything else you want) is just a label, it will work the same either way. As for it playing video files etc. I think it really depends on your personal version of the player I have heard reports that it works for some and not others.


Also, if you want to use .avi (or another extension) for example you would need to specifiy it here in the newattachmentbit, the user may also simply change it after pasting it into the post:

Code:

<b>[MP3]http://www.yoursite.com/vb/attachment.php?attachmentid=$attach[attachmentid].avi[/MP3]</b>

docvader 12-14-2004 07:47 PM

Yes, understand. Awesome thing you've done here. But, it shouldn't be too difficult for you guys to expand on this, and list options (mpg, mpeg, avi, mpeg4, etc) that users can click on, in a radio box, and have the copy and paste code change automatically. Or, take it one more step, have it insert into the post automatically after the file type changes. Just a thought.

As I'm far from a coding genius, this would be beyond me. But, I don't think it would be something too difficult for you guys to accomplish. And it would make for a great improvement to a wonderful hack.

Oh, and I tried changing it to "media" for the hell of it, and I screwed it up. Not sure what I did, but it didn't work too well. (Works great, as per your specific directions, and very easy to install. Congrats!)

rich
russbo.com

ericgtr 12-14-2004 07:56 PM

Quote:

Originally Posted by docvader
Yes, understand. Awesome thing you've done here. But, it shouldn't be too difficult for you guys to expand on this, and list options (mpg, mpeg, avi, mpeg4, etc) that users can click on, in a radio box, and have the copy and paste code change automatically. Or, take it one more step, have it insert into the post automatically after the file type changes. Just a thought.

As I'm far from a coding genius, this would be beyond me. But, I don't think it would be something too difficult for you guys to accomplish. And it would make for a great improvement to a wonderful hack.

Oh, and I tried changing it to "media" for the hell of it, and I screwed it up. Not sure what I did, but it didn't work too well. (Works great, as per your specific directions, and very easy to install. Congrats!)

rich
russbo.com

Thanks, great suggestions. My knowledge of this stuff is still pretty limited but I am learning more every day :) As for making the change, I have found that I needed to delete my bbcode and re-add it again when making that change, give it a shot and it should work for you.

docvader 12-14-2004 08:36 PM

Ericgtr, here, check this out, re adding buttons to automatically insert code???

https://vborg.vbsupport.ru/showthread.php?t=69855

Looking forward to your next iteration. You're doing a great job with this.

rich
russbo.com


All times are GMT. The time now is 11:59 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.01222 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (6)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