helpLinterna Mágica - Support: sr #108050, Reassigned to another tracker...


You are not allowed to post comments on this tracker with your current authentication level.

sr #108050: Reassigned to another tracker [was: Facebook clips are not loading]

Submitted by:  Ivaylo Valkov <valkov>
Submitted on:  Mon 07 May 2012 09:11:01 PM UTC  
Category:  Previously working website does not anymore Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  Ivaylo Valkov <valkov>
Open/Closed:  Closed Release:  trunk
Operating System:  GNU/Linux

Sun 10 Jun 2012 06:37:51 PM UTC, comment #2: 


Please, do not post any new comments to this item.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
Mon 07 May 2012 09:11:01 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>
Project AdministratorIn charge of this item.


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-10 valkov Reassign ItemLinterna Mágica, sr #108050 => Linterna Mágica, bug #36618
    2012-06-10 valkov StatusReady For Test => Done
        Open/ClosedOpen => Closed
    2012-05-27 valkov StatusIn Progress => Ready For Test
    2012-05-23 valkov StatusNeed Info => In Progress

    Back to the top

    Powered by Savane 3.7