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)

testebr 07-07-2007 02:20 AM

oops, no one version is work here more.

I will check it, sorry for my possible fake report.

ammoskumar 07-07-2007 02:36 AM

NIX suddenly divX video want embed got error unsupported media type. any idea why...i havnt change anything also dint upgrade to 3.9.1

iogames 07-07-2007 02:58 AM

Ok, ok, ok... my hack is a mess

1. I want to center the Player into the center of the thread
2. It doesn't show footer/download
3. Where can I adjust the size of the player?

Thaaaaanks!

testebr 07-07-2007 03:19 AM

Quote:

Originally Posted by iogames (Post 1284895)
Ok, ok, ok... my hack is a mess

1. I want to center the Player into the center of the thread
2. It doesn't show footer/download
3. Where can I adjust the size of the player?

Thaaaaanks!

1) Install any bbcode like [center]media_tag_here[/center] and add video with this new bb. Or just edit anymedia template and insert center html code by yourself. Exemple <div align="center"> ALL CODE FROM TEMPLATE HERE </div>.

2) Go to anymedia admincp options and check the option Show the download link?

3) Go to anymedia admincp options and check the option Default Media Object Width and Default Media Object Height.

-------------

About my problem, the version 3.0.9.1 dont work with my host (linux).

In windows (localhost) here my test work fine.

And nix, can you fix the problem with accentuated chars in movie titles? Try get an movie from br.youtube.com and test for you see the problem.

Other error from my test here:

Quote:

[media]ajshdadsasdfgsdfsdfgfdg[/media]

Result:

Warning: file(ajshdadsasdfgsdfsdfgfdg) [function.file]: failed to open stream: No such file or directory in \includes\class_anymedia.php on line 236

Warning: implode() [function.implode]: Bad arguments. in \includes\class_anymedia.php on line 237
Can you add an friendly message error for this action? :P

nix 07-07-2007 03:26 AM

Quote:

Originally Posted by testebr (Post 1284877)
oops, no one version is work here more.

I will check it, sorry for my possible fake report.

so you're good?

Quote:

Originally Posted by Dannyloski (Post 1284775)
Upgraded to 3.0.9.1 ... It seems that Photobucket is not working ... in FireFox it displays the Flash Player and it says "click to play" but when you click it it styas in the "loading ..." screen and does nothing ... In IE it doesn't show the player at all, just the box with the title of the player and title of the video ... Unless maybe I'm using the incorrect like for PhotoBucket, I used http://s37.photobucket.com/albums/e5...t=MOV00857.flv

Anyways, in addition to that, when you click on "edit" to edit a post that has a [media] tag it deletes it from the post after you save. If you try to re-edit it and re-add the code it wont do it. It's really buggy this time. After I saw theis bug, I tried refreshing the page and got the following:

Warning: file(http://s37.photobucket.com/albums/e5...t=MOV00857.flv) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /includes/class_anymedia.php on line 236

Warning: implode() [function.implode]: Bad arguments. in /includes/class_anymedia.php on line 237

Warning: file(http://s37.photobucket.com/albums/e5...t=MOV00857.flv) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /includes/class_anymedia.php on line 236

Warning: implode() [function.implode]: Bad arguments. in /includes/class_anymedia.php on line 237

Warning: file(http://s37.photobucket.com/albums/e5...t=MOV00857.flv) [function.file]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /includes/class_anymedia.php on line 236

Warning: implode() [function.implode]: Bad arguments. in /includes/class_anymedia.php on line 237

The it said on vB "Unable to add cookies, header already sent.
File: /home/*******/public_html/forum/includes/class_core.php
Line: 3083"

Although, you fixed the other issues where it wasn't loading before on IE and now it does this is a way bigger one ... Might want to take a look into this ...

Fixed this. But everyone should be fine until the next release.

Quote:

Originally Posted by ammoskumar (Post 1284889)
NIX suddenly divX video want embed got error unsupported media type. any idea why...i havnt change anything also dint upgrade to 3.9.1

Its working fine on my test board. What link are you trying to use?

nix 07-07-2007 03:30 AM

Quote:

Originally Posted by testebr (Post 1284899)
1) Install any bbcode like [center]media_tag_here[/center] and add video with this new bb. Or just edit anymedia template and insert center html code by yourself. Exemple <div align="center"> ALL CODE FROM TEMPLATE HERE </div>.

2) Go to anymedia admincp options and check the option Show the download link?

3) Go to anymedia admincp options and check the option Default Media Object Width and Default Media Object Height.

-------------

About my problem, the version 3.0.9.1 dont work with my host (linux).

In windows (localhost) here my test work fine.

And nix, can you fix the problem with accentuated chars in movie titles? Try get an movie from br.youtube.com and test for you see the problem.

Pretty everything testebr said is h how you do it. Also check your anymedia template and make sure its the latest.

I'll add an option to have it center in the next release.

I'll look into the br.youtube.

xnt 07-07-2007 03:31 AM

Quote:

Originally Posted by nix (Post 1284865)
I changed it from saying Download here to have the title of the video. You don't see that?

It works with YouTube but NOT with an mp3 file. Thanks for coming out with new features and fixes so fast.

iogames 07-07-2007 04:11 AM

Quote:

Originally Posted by nix (Post 1284906)
Pretty everything testebr said is h how you do it. Also check your anymedia template and make sure its the latest.

I'll add an option to have it center in the next release.

I'll look into the br.youtube.

Nooo! :eek:
lol! I spent 45 mins in each updating... I prefer to pay you for a new hack ;)
and I was usin this old Anymedia's template and was working fine:
Quote:

<!-- AnyMedia BBCode By Crist Chsu Start -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$media[layout]" align="center">
<tr>
<td class="tcat"<if condition="$media['type'] == 'p2p'"> colspan="2"</if>>
<span style="float:$stylevar[right]"><a href="#" onclick="return toggle_collapse('media_$media[id]')"><img id="collapseimg_media_$media[id]" src="$stylevar[imgdir_button]/collapse_tcat.gif" border="0" /></a></span>
<a href="#" onclick="return toggle_collapse('media_$media[id]')"><if condition="$vboptions['anymediatitle']"> $vboptions[anymediatitle]<else />$vbphrase[anymedia_player]</if></a></td>
</tr>
<tbody id="collapseobj_media_$media[id]"<if condition="$vboptions['anymediacollapse']"> style="display:none;"</if>>
<if condition="$media['type'] != 'p2p'">
<tr>
<td class="alt1" align="center">
<if condition="$media['type'] == 'adobe_flash'">
<!-- Adode Flash -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_flash('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'quick_time'">
<!-- Quick Time -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_quicktime('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'real_media'">
<!-- Real Media -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_realmedia('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'windows_media'">
<!-- Windows Media -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_windowsmedia('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]', '$media[loop]');</script>
</if>
<if condition="$media['type'] == 'adobe_pdf'">
<!-- Adobe PDF -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_adobepdf('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]');</script>
</if>
<if condition="$media['type'] == 'image'">
<!-- Image -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<img src="$media[url]" id="anymedia_image_$media[id]" border="0" onload="if(this.width>$media[width]) {this.resized=true; this.width='$media[width]'; this.alt='$vbphrase[anymedia_resized]';}" onmouseover="if(this.resized) this.style.cursor='pointer';" onclick="if(!this.resized) {return false;} else {window.open('$media[url]');}" onmousewheel="return imgzoom(this);" />
</if>
<if condition="$media['type'] == 'pplive'">
<!-- PPLive -->
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<div id="anymedia_container_$media[id]"></div>
<script type="text/javascript">anymedia_pplive('$media[id]', '$media[url]', '$media[mime]', '$media[width]', '$media[height]', '$media[autoplay]');</script>
</if>
<if condition="$media['type'] == 'torrent_error'">
<!-- Torrent Error -->
$vbphrase[anymedia_torrent_error]
</if>
<if condition="$media['type'] == 'unknown'">
<!-- Wrong Type -->
$vbphrase[anymedia_wrong_type]
</if>
<if condition="$media['type'] == 'error'">
<!-- Error -->
$vbphrase[anymedia_error]
</if>
</td>
</tr>
<else />
<if condition="$media['extension'] == 'torrent'">
<!-- Torrent -->
<if condition="$media['extra']['name']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_name]: </td>
<td class="alt1">{$media[extra][name]}<if condition="$media['extra']['length']"> ( {$media[extra][length]} )</if></td>
</tr>
</if>
<if condition="$media['extra']['publisher']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_publisher]: </td>
<td class="alt1"><if condition="$media['extra']['publisher_url']"><a href="{$media[extra][publisher_url]}" target="_blank" title="$vbphrase[anymedia_torrent_publisher_url]">{$media[extra][publisher]}</a><else />{$media[extra][publisher]}</if></td>
</tr>
</if>
<if condition="$media['extra']['created_by']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_created_by]: </td>
<td class="alt1">{$media[extra][created_by]}</td>
</tr>
</if>
<if condition="$media['extra']['creation_date']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_creation_date]: </td>
<td class="alt1">{$media[extra][creation_date]}</td>
</tr>
</if>
<if condition="$media['extra']['encoding']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_encoding]: </td>
<td class="alt1">{$media[extra][encoding]}<if condition="$media['extra']['codepage']"> ( $vbphrase[anymedia_torrent_codepage]: {$media[extra][codepage]} )</if></td>
</tr>
</if>
<if condition="$media['extra']['piece_length']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_piece_length]: </td>
<td class="alt1">{$media[extra][piece_length]}</td>
</tr>
</if>
<if condition="$media['extra']['announce']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_announce]: </td>
<td class="alt1">{$media[extra][announce]}</td>
</tr>
</if>
<if condition="$media['extra']['nodes']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_nodes]: </td>
<td class="alt1">{$media[extra][nodes]}</td>
</tr>
</if>
<if condition="$media['extra']['files']">
<tr>
<td class="alt2" width="20%">$vbphrase[anymedia_torrent_files]: </td>
<td class="alt1">{$media[extra][files]}</td>
</tr>
</if>
</if>
<if condition="$media['extension'] == 'foxy' || $media['extension'] == 'emule'">
<!-- Foxy -->
{$media[extra][content]}
<tr class="alt2">
<td align="left" width="80%">
<script type="text/javascript" src="clientscript/anymedia.js"></script>
<span style="float: right;"><input type="button" value="$vbphrase[anymedia_download_checked]" onClick="anymedia_download('$media[id]', 0, 1)" class="button"> <input type="button" value="$vbphrase[anymedia_copy_checked]" onClick="anymedia_copy('$media[id]')" class="button"><div id="copy_anymedia_$media[id]" style="position:absolute;height:0px;width:0px;over flow:hidden;"></div></span> <input type="checkbox" id="checkall_anymedia_$media[id]" onClick="anymedia_checkall('$media[id]', this.checked)" checked="checked" /> <label for="checkall_anymedia_$media[id]">$vbphrase[anymedia_check_all]</label>
</td>
<td align="center" width="20%" class="alt1">
$vbphrase[anymedia_total_size]<span id="size_anymedia_$media[id]">{$media[extra][size]}</span>
</td>
</tr>
</if>
</if>
<if condition="$media['download']">
<tr>
<td class="tfoot" align="center"<if condition="$media['type'] == 'p2p'"> colspan="2"</if>><a href="$media[link]" target="_blank">$vbphrase[anymedia_download]</a></td>
</tr>
</if>
</tbody>
</table>
<!-- AnyMedia BBCode By Crist Chsu End -->

It's the footer and the height the problem in the new...

Ftu-forum 07-07-2007 06:33 AM

i got problem, seems it can't use media in the same host
Warning: file(): URL file-access is disabled in the server configuration in /includes/class_anymedia.php on line 236

Warning: file(http://ftu-forum.net/data/dk/Yeu%20t...%20MyTam.MP3): failed to open stream: no suitable wrapper could be found in /includes/class_anymedia.php on line 236

Warning: implode(): Bad arguments. in /includes/class_anymedia.php on line 237

benjaminbih 07-07-2007 08:39 AM

Quote:

Originally Posted by vinniecolaiuta (Post 1284542)
Users reports bugs with iE :(
After the first embed forum will e truncate:

[img=http://img65.imageshack.us/img65/8153/anymediael8.th.jpg]

After i get this nice mod in latest version to work, i have the same error, how to fix it??

The replies and footer in Internet Explorer are cut. In FireFox it displays all OK


All times are GMT. The time now is 05:36 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.04373 seconds
  • Memory Usage 1,808KB
  • 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
  • (10)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