vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=166094)

vbboarder 08-23-2008 06:13 PM

Not sure if this is a LDM bug or IE7 (Windows XP) bug: IE7 will pop up a notification stating that "IE can't open the page" and the "operation was aborted" when loading a page that has a video larger than ~5 MB. However, the page still loads fine and the video plays (testing non-Flash videos that are 20 MB).

vbboarder 08-23-2008 06:49 PM

Bug report: I discovered a serious conflict for file types that are set by the user to be played by Quicktime. For Quicktime file types, if a non-Quicktime player is set with a higher priority in LDM than the Quicktime player, then both players will show up on top of each other in the browser. More seriously, Firefox will become unresponsive (but can still be terminated).

The source of this bug stems from 2 sources: LDM and Quicktime. LDM because it creates an object tag for the highest priority player, and Quicktime because it allows users to set mime types in the browser. This problem may occur for other media types also (Windows, Real, etc), but has only been verified for Quicktime. Changing the mime types in VB will NOT fix the problem.

Solution: Change the media players priority in LDM so that Quicktime has the highest priority for all Quicktime file types. In VB control panel on the left side, select Links and Downloads > Players > then give Quicktime a high priority like 20 so that it's higher than the Windows & Real players. Now only the Quicktime player should show and not freeze up Firefox :D

vbboarder 08-23-2008 07:08 PM

Bug report: Ok, this is probably the most difficult bug I've come across thus far since I've used VB. Spent a whole day :rolleyes::confused::eek: to find a partial work-around. The problem is that media players (ALL 3 - Windows Player, Quicktime, RealPlayer) will display and play media in IE7 but will only play, but NOT display in Firefox 2 (can hear the audio, but can not see the player or video/ image). First I thought it was a transparency issue similar to the LDM bug fix I did for the Flash and Silverlight players, but setting the transparency/ blend parameters for these players had NO effect. After hours of testing different hacks and trial & error debugging, I found the source of the problem.

Partial work-around: Remove this script from the headinclude template:
Quote:

<script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
Removing this script will enable the players to display in Firefox. However, this partial solution is obviously not good since many VB scripts will not work since they depend on that yahoo event script. Andrew, can you PLEASE debug this one? I'll be glad to test out any fix you have. Thanks ;)

Note: testing with VB 3.7.2, LDM 2.2.9-post1, Windows XP (SP2), Firefox 2, Explorer 7, Quicktime 7.5, RealPlayer 11, Windows Player 11, and admin privileges for XP, VB & LDM.

vbboarder 08-23-2008 07:10 PM

Ok, I'm done with my bug reports for now..... ;)

AndrewD 08-23-2008 07:16 PM

Quote:

Originally Posted by vbboarder (Post 1605312)
Ok, I'm done with my bug reports for now..... ;)

Wow

TsirhCitna 08-23-2008 09:59 PM

Quote:

Originally Posted by AndrewD (Post 1534706)
OK, will take a look



Yes, I'd found this bug and I have the fix ready. It's releated to the new CSRF mechanisms in vBulletin. All you need to do is edit local_links_ajax.php (main forum directory)

After the line
Code:

define('CSRF_PROTECTION', true);
add
Code:

define('CSRF_SKIP_LIST', 'swfupload'); // because of problems with flash scripts assuming IE

I'm still having this same issue with anyone who is not an admin.

RikiB 08-24-2008 12:05 AM

The inline player seems to work only with FLV, is there a way to get Mp4/xml working with it as well?

also, is there anyway to have the entry thumbnail be a direct link to the file? It seems $linkimgjump forces it to open in litebox instead of opening the file.

Thanks

vbboarder 08-24-2008 04:26 AM

In researching the Yahoo event script conflict with embedded players, I discovered a possible fix. I verified that the problem exists with VB 3.7.2 alone without LDM. You can reproduce the problem with VB 3.7.2 in Firefox 2 with Flash Player 9 (I'm using Windows XP - sp2):

1. Create a forum with HTML code enabled (remember to allow admins only to post if this will be a permanent forum).
2. Create a thread and post with this sample object tag from youtube:
Code:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
3. Save and view the thread. The embedded flash player will temporarily show for ~1 sec. when the page loads, but then disappears (if autostart is enabled, video should play but still does not show). Refreshing the page and clearing the cache does not help.

Since the Flash player showed in LDM but NOT in VB alone, I realized that a possible work-around is to create the embedded player with a JS script and not by the object or embed tags. In LDM, the JW Flash & Silverlight players were able to show because they do not directly use the object and embed tags. Instead, the players are created by a script in the links_playerbit_JWPlayer and links_playerbit_JWwmPlayer templates. Hope that helps to create a plugin fix for the other media players.

Since this bug is obviously a VB bug, I posted it at VB's site: http://www.vbulletin.com/forum/proje...?issueid=26190
Everyone, please confirm/ comment on this bug at that link so that the VB team will make this bug a high priority. Even if Andrew is able to provide a plugin fix for LDM, this bug will still affect posts at HTML enabled forums since users can NOT post script tags even if HTML is enabled. For example, you may want to create a HTML enabled forums where admins can post YouTube videos for users to watch. Without this bug fixed, you're not able to do that. :rolleyes:

AndrewD 08-24-2008 05:45 AM

Quote:

Originally Posted by vbboarder (Post 1605525)
In researching the Yahoo event script conflict with embedded players, I discovered a possible fix. I verified that the problem exists with VB 3.7.2 alone without LDM. You can reproduce the problem with VB 3.7.2 in Firefox 2 with Flash Player 9 (I'm using Windows XP - sp2):

1. Create a forum with HTML code enabled (remember to allow admins only to post if this will be a permanent forum).
2. Create a thread and post with this sample object tag from youtube:
Code:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
3. Save and view the thread. The embedded flash player will temporarily show for ~1 sec. when the page loads, but then disappears (if autostart is enabled, video should play but still does not show). Refreshing the page and clearing the cache does not help.

Since the Flash player showed in LDM but NOT in VB alone, I realized that a possible work-around is to create the embedded player with a JS script and not by the object or embed tags. In LDM, the JW Flash & Silverlight players were able to show because they do not directly use the object and embed tags. Instead, the players are created by a script in the links_playerbit_JWPlayer and links_playerbit_JWwmPlayer templates. Hope that helps to create a plugin fix for the other media players.

Since this bug is obviously a VB bug, I posted it at VB's site: http://www.vbulletin.com/forum/proje...?issueid=26190
Everyone, please confirm/ comment on this bug at that link so that the VB team will make this bug a high priority. Even if Andrew is able to provide a plugin fix for LDM, this bug will still affect posts at HTML enabled forums since users can NOT post script tags even if HTML is enabled. For example, you may want to create a HTML enabled forums where admins can post YouTube videos for users to watch. Without this bug fixed, you're not able to do that. :rolleyes:

I will see what I can find out. During the years, I've found that there are frequently interactions problems between the browser and media handling infrastructures - flash, windows media player and real player have all caused problems and they are all specific to certain releases of the support products. It's a real pain to keep up-to-date.

On a similar note, the guy who runs the quirksmode site must be ocmpletely hairless, trying to keep track o the javascript features that do or do not work in different browsers/browser versions.

I posted a question yesterday about an oddity in PHP which has really got me confused.

RikiB 08-24-2008 04:01 PM

Quote:

Originally Posted by AndrewD (Post 1540279)
On my own site, I use a simple bbcode definition

Code:

[link=NNN]Title[/link]
defined as

Code:

<a href="local_links.php?action=jump&id={option}" target="_new">{param}</a>
I also use

Code:

[linkcat=NNN]Title[/link]
defined as

Code:

<a href="local_links.php?catid={option}" target="_new">{param}</a>
to jump to a category

Is there any way to post an inline video using the JW player in a post using bbcode? That way I can see the player inside the post and just hit play?

Also, mp4 files done seem to work with the inline player :(

Thanks for the hard work!
- Riki


All times are GMT. The time now is 11:24 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.02742 seconds
  • Memory Usage 1,769KB
  • 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_code_printable
  • (5)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