bugLinterna Mágica - Bugs: bug #36618, Facebook clips are not loading

 
 

bug #36618: Facebook clips are not loading

Submitted by:  Ivaylo Valkov <valkov>
Submitted on:  Sun Jun 10 18:37:51 2012  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun Jun 10 18:44:42 2012, comment #3:

Switching to bugs only tracker. The Support tracker is deprecated.

Ivaylo Valkov <valkov>
Project Administrator
Sun Jun 10 18:37:51 2012, comment #2:

This item has been reassigned from the project Linterna Mágica support tracker to your tracker.

The original report is still available at support #108050

Following are the information included in the original report:

[field #0] Item ID: 108050
[field #1] Group ID: 10711
[field #2] Open/Closed: Closed
[field #3] Severity: 3 - Normal
[field #4] Privacy: Public
[field #9] Category: Previously working website does not anymore
[field #10] Submitted by: valkov
[field #11] Assigned to: valkov
[field #12] Submitted on: Mon 07 May 2012 09:11:01 PM GMT
[field #13] Summary: Facebook clips are not loading
[field #14] Original Submission: Facebook clips are not loading when Gnash is not enabled. The code that extracts objects from JavaScript is the one for the swfobject library, but the regular expression does not match the DOM object id that should be used properly. Not tested with Gnash enabled.
[field #15] Closed on: Sun 10 Jun 2012 06:33:52 PM GMT
[field #16] Item Group: None
[field #17] Status: Done
[field #18] Component Version: None
[field #19] Operating System: GNU/Linux
[field #20] Reproducibility: None
[field #21] Size (loc): None
[field #22] Fixed Release: None
[field #23] Planned Release: None
[field #24] Effort: 0.00
[field #28] Priority: 5 - Normal
[field #31] Percent Complete: 0%
[field #33] Release: trunk
[field #58] Custom Select Box #1: None
[field #59] Custom Select Box #2: None
[field #60] Custom Select Box #3: None
[field #61] Custom Select Box #4: None
[field #62] Custom Select Box #5: None
[field #63] Custom Select Box #6: None
[field #64] Custom Select Box #7: None
[field #65] Custom Select Box #8: None
[field #66] Custom Select Box #9: None
[field #67] Custom Select Box #10: None

Ivaylo Valkov <valkov>
Project Administrator
Sun May 27 15:15:03 2012, comment #1:

In pages with video clips in Facebook, there are two constructors for the SWFObject library/class ...whatever in the same script tag. The code in src/lm_extract_js_swfobject.js matched only the first one. This constructor tries to insert the swf object into non-existent element or at least the ID is wrong. Unable to find an element with such ID in the DOM, Linterna Magica gives up and quits. Turns out the second SWFObject constructor has a proper ID for the element that will hold the swf object. The reworked code committed in r277 in src/lm_extract_js_swfobject.js now tries to match more than one SWFObject constructor in the same script tag. It tries until there are no more occurrences or it find one with holder element that exists in the DOM. It seems the change does not break other websites.

In addition, Facebook did some changes and the regular expression for video links did not match.

Clips are always extracted from script tags. Even when Gnash is installed the website does not render the plugin and complains that a newer version is required. Setting the version in Gnash did not help.

Added HD links support.

Ivaylo Valkov <valkov>
Project Administrator
Sun Jun 10 18:37:51 2012, original submission:

Facebook clips are not loading when Gnash is not enabled. The code that extracts objects from JavaScript is the one for the swfobject library, but the regular expression does not match the DOM object id that should be used properly. Not tested with Gnash enabled.

Ivaylo Valkov <valkov>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by valkov (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Jun 10 18:44:42 2012valkovStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sun Jun 10 18:37:51 2012valkovReassign itemLinterna Mágica, sr #108050=>Linterna Mágica, bug #36618

    Back to the top


    Powered by Savane 3.1-cleanup1