taskLinterna Mágica - Tasks: task #11838, Add support for Kickstarter clips


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

task #11838: Add support for Kickstarter clips

Submitted by:  Ivaylo Valkov <valkov>
Submitted on:  Sun 19 Feb 2012 04:45:06 PM UTC  
Should Start On:  Sun 19 Feb 2012 12:00:00 AM UTC Should be Finished on:  Sun 19 Feb 2012 12:00:00 AM UTC
Category:  Web page (general) Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  Ivaylo Valkov <valkov> Open/Closed:  Closed
Planned Release:  0.0.12

Sun 19 Feb 2012 04:47:47 PM UTC, comment #1:

Code was committed in revision 258.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sun 19 Feb 2012 04:45:06 PM UTC, original submission:

This task is meant as an explanation of the support in Kickstarter.

Kickstarter inserts a flash object in the page when the user clicks the play-icon image over every clip and there is flash plugin installed. Linterna Mágica works out of the box in this case. Few CSS fixes are needed.

The second scenario is when there is no plugin installed. It seems Kickstarter includes the JWPlayer library with a script tag, but the calls to it are not in the HTML. The other included scripts are minified, so even fetching and parsing will not work.

Fortunately there is a way to support the website without flash plugin installed. The link to the video is held by a div with class "video-player" in its non-standard attribute called "data-video". The function no_flash_plugin_installed is defined for the website. The code extracts the link from and the rest of the needed data from that div and its children. A call to create_video_object is made, so the replacement object can be inserted in the DOM.

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.


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



    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-19 valkov Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3