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 Feb 19 16:45:06 2012  
Should Start On: Sun Feb 19 00:00:00 2012Should be Finished on: Sun Feb 19 00:00:00 2012
Category: Web page (general)Priority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Ivaylo Valkov <valkov>Open/Closed: Closed
Planned Release: 0.0.12

Sun Feb 19 16:47:47 2012, comment #1:

Code was committed in revision 258.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sun Feb 19 16:45:06 2012, 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
  • -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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Feb 19 16:47:47 2012valkovOpen/ClosedOpen=>Closed

    Back to the top

    Powered by Savane 3.1-cleanup1