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)

Chadi 09-20-2007 06:09 PM

I don't know why but I'm getting this error suddenly

Error: unsupported media type.2

I was using youtube (which I have enabled along with all media types enabled except images, pdf, p2p)

http://www.youtube.com/watch?v=ztC41HDL9mk

The strange part it works sometimes, then other times it doesn't with the same link.

I tried a godtube.com link also, http://www.godtube.com/view_video.ph...40cf5a13cea6ca

It did not work, yet I posted another godtube.com link myself and it worked. Then, I tried another godtube.com video and it showed the same "error 2.." unsupported message.


Feature Request:
- remove the description text on right side of video (on post that is, not pop-up)

SBlueman 09-21-2007 12:15 AM

Quote:

Originally Posted by SBlueman (Post 1342221)
I can't seem to get video to work from break or youporn....any suggestions?

:confused:

nix 09-21-2007 04:09 AM

The youtube and godtube links you posted work fine. If the sites go down then they wont work until it comes back up.

Break video works fine. If you think you found a link that doesn't work let me know. Youporn doesn't work. They have theirs locked down pretty good.

cynthetiq 09-21-2007 02:20 PM

Quote:

Originally Posted by nix (Post 1332507)
for vb advanced you'll probably just need to include the css and js files.

Include them where?

Chadi 09-21-2007 04:29 PM

This is happening too often again and Youtube is certainly not down at all.
http://www.youtube.com/watch?v=U3GijrnfStk

Error: unsupported media type.2

I really do not understand. If youtube was down, it would not work directly and it shows an error message that the media is unsupported. I can only guess its a bug somewhere.

trilljester 09-21-2007 05:20 PM

I like the idea of this, I'm wanting to have a forum that allows people to post topics with these videos, all in a central location. I see that the idea is a planned expansion, so I'll wait for that a feature. Good stuff so far though!

nix 09-21-2007 09:59 PM

Quote:

Originally Posted by cynthetiq (Post 1343855)
Include them where?

In the headinclude template
Quote:

Originally Posted by chadi (Post 1343931)
This is happening too often again and Youtube is certainly not down at all.
http://www.youtube.com/watch?v=U3GijrnfStk

Error: unsupported media type.2

I really do not understand. If youtube was down, it would not work directly and it shows an error message that the media is unsupported. I can only guess its a bug somewhere.

If you send me a link I'll take a look at it.

cynthetiq 09-22-2007 12:28 AM

Quote:

Originally Posted by nix (Post 1344127)
In the headinclude template
If you send me a link I'll take a look at it.

That's what I thought, I do have them in the headinclude. we're talking about the highslide.js and highslide.css right?

PHP Code:

script type="text/javascript" src="/highslide/highslide.js"></script>
<
script type="text/javascript">
 
// remove the registerOverlay call to disable the controlbar
 
hs.registerOverlay(
     {
      
thumbnailIdnull,
      
overlayId'controlbar2',
      
position'bottom left',
      
hideOnMouseOuttrue,
      
opacity0.75
  
}
 );
 
    
hs.graphicsDir '/highslide/graphics/';
    
hs.outlineType 'rounded-white';
    
window.onload = function() {
        
hs.preloadImages(5);
    }
</
script>
<
link rel="stylesheet" href="/highslide/highslide.css" type="text/css" media="screen" />
<
script type="text/javascript" src="clientscript/vbulletin_global.js?v=368"></script>
<
script type="text/javascript" src="clientscript/vbulletin_menu.js?v=368"></script


full headinclude:

PHP Code:

 
<link rel="shortcut icon" href="http://belowdelancey.com/forum/favicon.ico" />
<
meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]/>
<
meta name="generator" content="vBulletin $vboptions[templateversion]/>
<if 
condition="$show['threadinfo']">
<
meta name="keywords" content="$threadinfo[title]$vboptions[keywords]/>
<
meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]/>
<else />
 <if 
condition="$show['foruminfo']">
<
meta name="keywords" content="$foruminfo[title_clean]$vboptions[keywords]/>
<
meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]/>
 <else />
<
meta name="keywords" content="$vboptions[keywords]/>
<
meta name="description" content="$vboptions[description]/>
 </if>
</if>
<!-- 
CSS Stylesheet -->
$style[css]
<if 
condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<
style type="text/css">
ulol padding-left:20px; }
</
style>
</if>
<!-- / 
CSS Stylesheet -->
<
script type="text/javascript">
<!--
var 
SESSIONURL "";
var 
IMGDIR_MISC "images/misc";
var 
vb_disable_ajax parseInt("0"10);
// -->
</script>
<
script type="text/javascript">
<!--
var 
SESSIONURL "";
var 
IMGDIR_MISC "images/misc";
var 
vb_disable_ajax parseInt("0"10);
// -->
</script>
 
<
script type="text/javascript" src="/highslide/highslide.js"></script>
<
script type="text/javascript">
 
// remove the registerOverlay call to disable the controlbar
 
hs.registerOverlay(
     {
      
thumbnailIdnull,
      
overlayId'controlbar2',
      
position'bottom left',
      
hideOnMouseOuttrue,
      
opacity0.75
  
}
 );
 
    
hs.graphicsDir '/highslide/graphics/';
    
hs.outlineType 'rounded-white';
    
window.onload = function() {
        
hs.preloadImages(5);
    }
</
script>
<
link rel="stylesheet" href="/highslide/highslide.css" type="text/css" media="screen" />
<
script type="text/javascript" src="clientscript/vbulletin_global.js?v=368"></script>
<
script type="text/javascript" src="clientscript/vbulletin_menu.js?v=368"></script>
<
script type="text/javascript">
<!--
var 
SESSIONURL "$session[sessionurl_js]";
var 
IMGDIR_MISC "$stylevar[imgdir_misc]";
var 
vb_disable_ajax parseInt("$vboptions[disable_ajax]"10);
// -->
</script>
<
script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if 
condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>
<if 
condition="$vboptions['externalrss']">
<
link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="external.php?type=RSS2" />
<if 
condition="$show['foruminfo'] OR $show['threadinfo']">
<
link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="external.php?type=RSS2&amp;forumids=$foruminfo[forumid]/>
</if>
</if> 


nix 09-22-2007 01:57 AM

Yea if you look at anymedia_header you can just add that part to the head include or you can add vbadvanced to the check so it will display. I can post it up in a bit of what you would need.

cynthetiq 09-22-2007 02:32 AM

Quote:

Originally Posted by nix (Post 1344270)
Yea if you look at anymedia_header you can just add that part to the head include or you can add vbadvanced to the check so it will display. I can post it up in a bit of what you would need.

Yes Please. Sorry I'm not too keen as to what you mean. I understand what I could do to the anymedia_header, but I don't see how that would affect the vbadvanced.

nix 09-22-2007 03:09 AM

If you know how to edit plugins look for the plugin under anymedia called

global_setup_complete

Change it to this.

PHP Code:

if($foruminfo['anymenable'] || in_array(THIS_SCRIPT, array('blog''adv_index'))) {
    eval(
'$headinclude .= "' fetch_template('anymedia_header') . '";');



or if you don't have the blogs installed change it to this.

PHP Code:

if($foruminfo['anymenable'] || THIS_SCRIPT == 'adv_index') {
    eval(
'$headinclude .= "' fetch_template('anymedia_header') . '";');



cynthetiq 09-22-2007 03:36 AM

Now you've really lost me. We started with anymedia_header and then the headinclude. Now you're talking about the plugin and global_setup_complete.

So I don't do anything with the other templates. I just use the last php code from
PHP Code:

if($foruminfo['anymenable']) {
 eval(
'$headinclude .= "' fetch_template('anymedia_header') . '";');


change to this:

PHP Code:

if($foruminfo['anymenable'] || THIS_SCRIPT == 'adv_index') { 
    eval(
'$headinclude .= "' fetch_template('anymedia_header') . '";'); 



nix 09-22-2007 05:30 AM

Yea. Just change the plugin.

Chadi 09-22-2007 04:29 PM

It happened again on this link

http://www.godtube.com/view_video.ph...b771ff17d41aeb

Error: unsupported media type.2

I am sending you a pm with login details. Please help me out on this.

nix 09-22-2007 11:42 PM

For those of you using VBSEO and want the auto phrasing of links to work for Anymedia change the plugin newpost_process in anymedia and set the Execution Order to 4. I'll fix this in an update.

Chadi 09-23-2007 05:14 PM

This is happening again with this link for example:
http://www.godtube.com/view_video.ph...0b58eb7e0c6ccb

All I did was change "Enable Video Sites Globally" to no, I noticed you put it on yes. If I turn it back to yes, it works. Of course, this is not suitable for my Christian site to allow all options global.

Please let me know how to correct this bug. Thanks nix, appreciate the great support!

nix 09-23-2007 07:57 PM

Its not a bug. If that setting is set to no it turns all sites off regardless of what their individual setting is set to. You have to put that to yes and turn the ones you don't want off.

Wild Bronco 09-23-2007 09:12 PM

Looks extra good

I will wait til its final and then give it a go :rolleyes:

nickypoooo 09-24-2007 05:50 AM

Works great for me, can you add www.flix.co.il to the list

yahoooh 09-24-2007 12:51 PM

can this play local files like : wma and 3gp ?
i have alot of files in my server but i need to play them in vbulletin
and only permission for adding by administrator or specific user group ?

pjan 09-24-2007 04:04 PM

Thanks for the hacks.
amazing and i hope my user will love it
keep up the good work friend

nix 09-24-2007 05:10 PM

Quote:

Originally Posted by yahoooh (Post 1345979)
can this play local files like : wma and 3gp ?
i have alot of files in my server but i need to play them in vbulletin
and only permission for adding by administrator or specific user group ?

Yea

CMGU 09-24-2007 07:09 PM

im a actulized the anymedia en found nice but when i open a new thread say this

Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/adictmuz/public_html/forums/includes/class_anymedia.php on line 1324

i don´t know why. please help me

nix 09-24-2007 08:51 PM

I'm using that function with myspace. It's a php 5 function only.

ruger 09-24-2007 10:04 PM

Quote:

Originally Posted by CMGU (Post 1346235)
im a actulized the anymedia en found nice but when i open a new thread say this

Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/adictmuz/public_html/forums/includes/class_anymedia.php on line 1324

i don?t know why. please help me

Got the same issue when someone posted a myspace vid. Any fix for it besides setting to off on myspace category?

nix 09-24-2007 10:37 PM

upgrade php or edit the the function to work with php4

cynthetiq 09-24-2007 10:39 PM

Quote:

Originally Posted by nix (Post 1344378)
Yea. Just change the plugin.

thanks, I got the media bbcode to work in vbadvanced, but not in GARS. If you know a fix for that it would be cool also.

What I can't get it to do in vbadvanced is get the highslide popup.

nix 09-24-2007 11:32 PM

I could of sworn I posted this. But you can use this or the 2nd one i posted. This will make it work with highslide.

PHP Code:

if($foruminfo['anymenable'] || in_array(THIS_SCRIPT, array('blog''adv_index'))) {
    eval(
'$headinclude .= "' fetch_template('anymedia_header') . '";');



cynthetiq 09-24-2007 11:37 PM

Quote:

Originally Posted by nix (Post 1346409)
I could of sworn I posted this. But you can use this or the 2nd one i posted. This will make it work with highslide.

PHP Code:

if($foruminfo['anymenable'] || in_array(THIS_SCRIPT, array('blog''adv_index'))) {
    eval(
'$headinclude .= "' fetch_template('anymedia_header') . '";');



yeah i got that in the global_setup_complete from your earlier post, but it doesn't slide.

you can check it out here:

http://belowdelancey.com/

nix 09-24-2007 11:48 PM

Do you have allow bbcode for your news enabled in vbadvanced?

cynthetiq 09-25-2007 12:05 AM

yes, the top one tho isn't vbadvanced, the one that's not parsed, that's a GARS module. the one further down that has a thumbnail, that one is the same post but via vba.

yes bbcode is active in the vba options and the module.

nix 09-25-2007 01:16 AM

bump up the count for allowed characters for the news module.

cynthetiq 09-25-2007 01:32 AM

pushed it up to 1000, and it put the inline up now, but still same effect. opens in another window

diesalot 09-25-2007 03:05 AM

Keep getting unsupported file type.

[media]http://www.youtube.com/watch?v=OMa5_1jkpbE[/media]

cynthetiq 09-25-2007 10:32 AM

I'm wondering, do I have to put the full path to the highslide.js anywhere?

CMGU 09-25-2007 05:27 PM

Quote:

Originally Posted by ruger (Post 1346353)
Got the same issue when someone posted a myspace vid. Any fix for it besides setting to off on myspace category?

ok thanks problem solved

nix 09-25-2007 09:48 PM

Quote:

Originally Posted by diesalot (Post 1346510)
Keep getting unsupported file type.

[media]http://www.youtube.com/watch?v=OMa5_1jkpbE[/media]

Did u set up the permissions?

Quote:

Originally Posted by cynthetiq (Post 1346688)
I'm wondering, do I have to put the full path to the highslide.js anywhere?

If you want to make a temp admin account i'll set it up for you.

cynthetiq 09-25-2007 09:53 PM

pm sent

diesalot 09-25-2007 10:10 PM

Quote:

Originally Posted by nix (Post 1347095)
Did u set up the permissions?

Yep all permissions setup. other links work. Latest Anymedia installed yesterday but keep getting unsupported file type 2.

nix 09-25-2007 10:12 PM

well that link works just tried it on my test board. did you try and just pasting the link and hit reply?


All times are GMT. The time now is 08:50 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.09576 seconds
  • Memory Usage 1,909KB
  • 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
  • (8)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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