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

 
 

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

sr #107924: Reassigned to another tracker [was: Wishlist: Add support for Gawker Network's videos]

Submitted by:  Carlos Solis <csolisr>
Submitted on:  Fri 30 Dec 2011 01:43:34 AM UTC  
 
Category:  Feature request Priority:  2
Severity:  1 - Wish Status:  Need Info
Privacy:  Public Assigned to:  Ivaylo Valkov <valkov>
Open/Closed:  Closed Release:  trunk
Operating System:  None

Sun 10 Jun 2012 06:40:02 PM UTC, comment #5: 

THIS ITEM WAS REASSIGNED TO BUG #36627


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

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Thu 19 Jan 2012 10:45:13 AM UTC, comment #4: 

The user-agent hack (iPhone/iPad) works only for pages that provide download links for clips. It seems for the rest the only solution is the JDownloader decryption method.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sun 15 Jan 2012 04:38:02 PM UTC, comment #3: 

It seems Viddler is blocking HTML5 videos to browsers with user agents that do not match iPhone and probably iPad.

When I set the user agent in Midori (Edit/Preferences/Network) to iPhone I can watch the clips. Midori version 0.4.0 on Trisquel is kind of unstable and constantly crashing though.

There is another HTML5 link they use:
http://www.viddler.com/file/<key>/html5mobile/

Downloading with wget:

$ wget --spider --user-agent "iPhone" "http://www.viddler.com/file/de11006f/html5mobile/"
Spider mode enabled. Check if remote file exists.
--2012-01-15 18:33:20--  http://www.viddler.com/file/de11006f/html5mobile/
Resolving www.viddler.com... 69.25.171.239
Connecting to www.viddler.com|69.25.171.239|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://mainstreamvideo.a.ec.viddler.com/MainStreamVideo_asejf4sw3sqg108jw6tbdd962b4mi6.mp4?fd9f2a1c14aadf1069f046c36af41e2bff3b97d654f6daee83189ed72de8cd5177bfee7424a560ed8c16d6cdd4f106e46bca2c12c29f20677807e3 [following]
Spider mode enabled. Check if remote file exists.
--2012-01-15 18:33:21--  http://mainstreamvideo.a.ec.viddler.com/MainStreamVideo_asejf4sw3sqg108jw6tbdd962b4mi6.mp4?fd9f2a1c14aadf1069f046c36af41e2bff3b97d654f6daee83189ed72de8cd5177bfee7424a560ed8c16d6cdd4f106e46bca2c12c29f20677807e3
Resolving mainstreamvideo.a.ec.viddler.com... 93.184.221.133
Connecting to mainstreamvideo.a.ec.viddler.com|93.184.221.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10289645 (9.8M) [video/mp4]
Remote file exists.

$ wget --spider "http://www.viddler.com/file/de11006f/html5mobile/"
Spider mode enabled. Check if remote file exists.
--2012-01-15 18:33:26--  http://www.viddler.com/file/de11006f/html5mobile/
Resolving www.viddler.com... 69.25.171.239
Connecting to www.viddler.com|69.25.171.239|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2012-01-15 18:33:28--  (try: 2)  http://www.viddler.com/file/de11006f/html5mobile/
Reusing existing connection to www.viddler.com:80.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!

$ wget --spider --user-agent "iPad" "http://www.viddler.com/file/de11006f/html5mobile/"
Spider mode enabled. Check if remote file exists.
--2012-01-15 18:34:50--  http://www.viddler.com/file/de11006f/html5mobile/
Resolving www.viddler.com... 69.25.171.239
Connecting to www.viddler.com|69.25.171.239|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://mainstreamvideo.a.ec.viddler.com/MainStreamVideo_7rj11n8qjxirxg9j6vk50ruu1tslil.mp4?fd9f2a1c14aadf1069f046c36af41e2bff3b97d654f6daee83189ed72de8cd50ed36167df2463212eb53cee543b36e32d2071d898bed9ec43b8764 [following]
Spider mode enabled. Check if remote file exists.
--2012-01-15 18:34:51--  http://mainstreamvideo.a.ec.viddler.com/MainStreamVideo_7rj11n8qjxirxg9j6vk50ruu1tslil.mp4?fd9f2a1c14aadf1069f046c36af41e2bff3b97d654f6daee83189ed72de8cd50ed36167df2463212eb53cee543b36e32d2071d898bed9ec43b8764
Resolving mainstreamvideo.a.ec.viddler.com... 93.184.221.133
Connecting to mainstreamvideo.a.ec.viddler.com|93.184.221.133|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10259722 (9.8M) [video/mp4]
Remote file exists.


Oh, poor proprietary vendors!

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sat 31 Dec 2011 02:09:32 PM UTC, comment #2: 

So far it seems it will be next to impossible (or very very very hard) to support Viddler.

Viddler exchanges data about the video and its path in proprietary binary Flash-related format, called Action Message Format (AMF). [1][2] Even worse the data seems to be encrypted [3] with Blowfish. [4]

There is a thing called JDownloader [5] that seems to be free software (GPL license) and has support for it. [3] A Wikipedia article about it states that: [6]


Contrary to the license some source files are not publicly available. The developers stated that the license may change—the program will remain open source, but will get a license which allows closed source parts.


Which is bad, if true. Luckily, the file with support for Viddler has GPL headers. [3]

There are few JavaScript Blowfish libraries out there, but they seem to be with unclear licenses.

The AMF message could be passed over XHR with binary headers, I think. There is an AMF JavaScript library, [7] if needed at all. It is licensed under the two-clause BSD license. The AMF message is only one and it is small, so I guess there is no need for library.

My conclusion is that even if I implement the JDownloader algorithm and if it works, it might be too much effort for one site. The Blowfish libraries are 20-30 KB. I guess one with clear license (free software) will have the same size. The AMF library, if needed is 28KB. This adds 20-60KB of code without the actual code that will use the libraries and will provide support for Viddler. Linterna Mágica is already ~230KB - loaded on every page.

In Epiphany some Viddler introduction clips are played with HTML5. The video URL for such clips is
http://www.vidler.com/file/<key>/html5/,
 where <key> is a video identifier available in the HTML body of the dedicated video page. I've tested with some random clips, but it did not work.

Viddler provides download links for some clips, but not all. Another option is to use this links with Linterna Mágica, but only part of the videos will work.

Viddler provides [8] oEmbed API that returns JSON string that might be used in remote pages to create the Linterna Mágica button, If they support JSONP (callback parameter). It seems they don't.

[1] https://en.wikipedia.org/wiki/Action_Message_Format
[2] http://wiki.gnashdev.org/AMF
[3] svn co svn://svn.jdownloader.org/jdownloader/trunk/ ; less trunk/src/jd/plugins/hoster/VddlrCm.java
[4] https://secure.wikimedia.org/wikipedia/en/wiki/Blowfish_%28cipher%29
[5] http://www.jdownloader.org/
[6] https://secure.wikimedia.org/wikipedia/en/wiki/JDownloader#License
[7] https://github.com/jamesward/JSAMF/tree/master/web
[8] http://developers.viddler.com/documentation/services/oembed/

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Sat 31 Dec 2011 09:34:11 AM UTC, comment #1: 

Hello Carlos,

The example page you refer to has an embedded video player from viddler.com.

Video pages at Viddler have some hints about the clips, but not enough. They (Viddler) have developers pages, but I haven't checked yet how useful they are.

I've tested few random pages at the other websites and all I got were players for YouTube, which should be detected properly - a button directing to the original video page.

Will check the developers pages.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Fri 30 Dec 2011 01:43:34 AM UTC, original submission:  

THIS ITEM WAS REASSIGNED TO BUG #36627
Gawker Network (which includes sites like Kotaku, Gizmodo, and Lifehacker) uses a custom video player that Linterna Mágica currently does not support.

An example of the video player: http://kotaku.com/5783590

Carlos Solis <csolisr>

 

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 (Posted a comment)
  • -email is unavailable- added by csolisr (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-10 valkov Reassign ItemLinterna Mágica, sr #107924 => Linterna Mágica, bug #36627
    2011-12-31 valkov Priority3 - Low => 2
    2011-12-31 valkov Priority5 - Normal => 3 - Low
        Severity3 - Normal => 1 - Wish
        StatusNone => Need Info
        Assigned toNone => valkov

    Back to the top


    Powered by Savane 3.5