vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - VB AnyMedia Player / Media Sites (youtube, google and many more) (https://vborg.vbsupport.ru/showthread.php?t=150491)

nix 09-15-2007 09:52 PM

Quote:

Originally Posted by Emaginsoft (Post 1339522)
I added:

Code:

so$media[id].addVariable('autostart',true);
to the template and it shows up in the html -> source on the page. Just acts like the player is not getting the var.

My next step is to hack the player flash source to always auto play and I dislike flash so I'll be extremely grateful. :)

What you have is correct. Go here http://www.jeroenwijering.com/?item=JW_MP3_Player and download the latest mp3player and it will work. Thought I updated it.

nix 09-15-2007 10:00 PM

if you want it to work with anymedia settings use this.

Code:

so$media[id].addVariable("file","$media[link]");
                        so$media[id].addVariable("repeat","$media[loop]");
                        so$media[id].addVariable("showdigits","true");
                        so$media[id].addVariable("showdownload","$media[download]");
                        so$media[id].addVariable("autostart","$media[autoplay]");


ammoskumar 09-15-2007 10:57 PM

NIX in beta 3 i can not embed any video from any site what am i doing rong.... if you can installtion instruction that'll be appreciated

nix 09-15-2007 11:06 PM

I would have to look at your forum to see.

Emaginsoft 09-16-2007 01:36 AM

Thanks. I had previously downloaded that player but did not want to upload it cause the filesizes were extremely different. I'll give this a shot and let you know how it goes.

Thanks.

tminus 09-16-2007 04:01 AM

Finally .flv is working on my site! Thanks Nix!

I would love for local videos to appear like supported site videos with the video thumbnail versus the Anymedia icon, and the video title versus "click here to watch video." I am sure you are working on this for a future release, so in the meantime, can you suggest a way I can make it work? Like maybe adding an html file with the video embedded and specific code for Anymedia, then using that as the link versus the actual file link. Any help you can give would be appreciated.

Thanks

Quote:

Originally Posted by nix
The problem with that is that it would change it for all users. But if people want this I can.

Why not just add it in user options and let the user select their Anymedia style preference? I think allowing admin to decide upon install or allowing users to select their style preference is a good idea. Even though I prefer Highslide, I can see why others might prefer the original.

nix 09-16-2007 05:24 AM

The reason why it can't really be a user setting is that it goest in the posted phrased and isn't converted again. So it would it would what ever the style is for the person who posted.

Not sure about the thumb for the local files. They don't have thumb nails by default. You would have to create one.

bing11 09-16-2007 10:26 AM

nice code but can someone teach me how can use vbblog

nix 09-16-2007 10:38 AM

You want to use this in vblog? I haven't tried.

Freesteyelz 09-16-2007 11:38 AM

Nice. The DB error upon post preview and Quick Reply seems to have been fixed. Thank you. :)


All times are GMT. The time now is 07:42 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.02481 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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