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

 
 

bug #36618: Facebook clips are not loading

Submitter:  Ivaylo Valkov <valkov>
Submitted:  Sun 10 Jun 2012 06:37:51 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sun 10 Jun 2012 06:44:42 PM UTC, comment #3: 

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

Ivaylo Valkov <valkov>
Group administrator
Sun 10 Jun 2012 06:37:51 PM UTC, 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>
Group administrator
Sun 27 May 2012 03:15:03 PM UTC, 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>
Group administrator
Sun 10 Jun 2012 06:37:51 PM UTC, 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>
Group administrator

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-10 valkov StatusNone Fixed
        Open/ClosedOpen Closed
    2012-06-10 valkov Reassign itemLinterna Mágica, sr #108050 Linterna Mágica, bug #36618

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code