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

Submitter:  Ivaylo Valkov <valkov>
Submitted:  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:  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>
Group administrator
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>
Group administrator

 

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

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)
  •  

    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.

     

    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.13-d3ae.
    Corresponding source code