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)
-   -   AnyMedia BBCode for 3.5.x (https://vborg.vbsupport.ru/showthread.php?t=106239)

HungIPS 05-03-2006 01:58 AM

Uninstall this hack !

whitetigergrowl 05-03-2006 03:00 AM

Quote:

Originally Posted by MioTraGusa
temporal fix to youtube videos

youtube changed the format for prevent downloads.

example:

before, --> link: http://www.youtube.com/watch?v=qwyW0vRxefM and the before,--> download link: http://youtube.com/get_video.php?video_id=qwyW0vRxefM

now,--> link:
http://www.youtube.com/watch?v=qwyW0vRxefM
now,--> download link: http://youtube.com/get_video?video_id=qwyW0vRxefM&t=OEgsToPDskIY57PMLPbv93vbordcNAfg
extra code-->(&t=OEgsToPDskIY57PMLPbv93vbordcNAfg) <--- extra code

if your have your youtube videos into [media] tag, and not view... you can apply this fix.

in Create AnyMedia BBCode pluggin search:
Code:

                                $media['url'] = "http://youtube.com/get_video.php?video_id=".$match[1];
                                $media['extension'] = "flv";

and replace for:
Code:

                                                                $youtube = $match[1];
                                                                $media['extension'] = "flv2";

search:
Code:

                                // Adobe Flash
underneath add:
Code:

                                case 'flv2':
                                                                $media['type']='youtubes';
                                                                break;

in anymedia template search:
Code:

    <if condition="$media[type]=='adobe_flash'">
    <!-- Abode Flash -->

before add:
Code:

    <if condition="$media[type]=='youtubes'">
<object width="$media[width]" height="$media[height]"><param name="movie" value="http://www.youtube.com/v/$youtube"></param><embed src="http://www.youtube.com/v/$youtube" type="application/x-shockwave-flash" width="$media[width]" height="$media[height]"></embed></object></if>

see screenshot ... test it :tired:


Getting 'Error: Non supported media type.' as well. This really needs to be looked into and fixed ASAP since many of us rely on Youtube with this.

MioTraGusa 05-03-2006 04:10 AM

Quote:

Originally Posted by Rickie3
its just as easy to use this one its a simple BB code and youTube works well

but in that case you should change the [media] tag for another. if you have a big forum with more youtube videos is very fast and this fix work perfect.

@frandy, @Strike3ForumsMH, @whitetigergrowl

You should add the extension in AnyMedia BBCode Options-->Supported extensions (,flv2)
edited fix... see screenshot

sorry

whitetigergrowl 05-03-2006 05:14 AM

Alright, now it works. Thanks!

Strike3ForumsMH 05-03-2006 12:42 PM

Yep, same here. Thanks a bunch, youtube vids are the reason I added this hack. :)

topsoftware 05-03-2006 01:54 PM

i instal this hack but no saport my url
dit is my url
rtsp://media.iransima.ir/tv3/tv3_13850102_010.wmv
pls help me:surprised:

OrangeFlea 05-03-2006 03:11 PM

Is there a command to make an audio or video file loop?

I have an audio file set to autoplay with: MEDIA=0,0,1

I'm wondering if there is a way to make it loop as well.

MioTraGusa 05-03-2006 03:50 PM

Quote:

Originally Posted by topsoftware
i instal this hack but no saport my url
dit is my url
rtsp://media.iransima.ir/tv3/tv3_13850102_010.wmv
pls help me:surprised:

change for this [MEDIA]mms://media.iransima.ir/tv3/tv3_13850102_010.wmv[/MEDIA] work fine

rtsp:// -->protocol not supported

unitedpunjab 05-03-2006 04:09 PM

can i play mms:// content ????

MioTraGusa 05-03-2006 05:23 PM

yes, media code can play it


All times are GMT. The time now is 09:01 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.02868 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
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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