taskLinterna Mágica - Tasks: task #11064, Add HTML5 switch for sites that...

 
 

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

task #11064: Add HTML5 switch for sites that support it.

Submitter:  Ivaylo Valkov <valkov>
Submitted:  Mon 04 Apr 2011 09:53:23 AM UTC
   
 
Should Start On:  Mon 04 Apr 2011 12:00:00 AM UTC Should be Finished on:  Fri 05 Aug 2011 12:00:00 AM UTC
Category:  New feature Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  valkov Open/Closed:  Closed
Planned Release:  0.0.10

Jump to the original submission

Sat 06 Aug 2011 08:09:51 PM UTC, comment #8: 

Seems stable enough.  Marking the task as done.

Ivaylo Valkov <valkov>
Group administrator
Mon 01 Aug 2011 06:12:17 PM UTC, comment #7: 

Working code commited in r171. It is heavily tested. Just in case, will keep the status "Ready for test" for few days.

Ivaylo Valkov <valkov>
Group administrator
Sat 30 Jul 2011 09:30:46 PM UTC, comment #6: 

Changing the finish date of the taks, because problems occured while writing the code.

Notes:
The activation button for the HTML5 player in Dailymotion could be used in Epiphany when the Greasemonkey extension is turned off.

Vimeo serves HTML5 player when no flahs plugin is installed.

Ivaylo Valkov <valkov>
Group administrator
Fri 29 Jul 2011 08:52:15 AM UTC, comment #5: 

To make the HTML5 switch possible in Linterna Magica, the following changes are needed.

 Change the "priority" config option, so it could take multiple values. For example "html5, self, plugin".
 Add a function to search for video tag in the parent node of the replacement object tag.
 Make the assumption that the HTML5 player (controls and video tag) is in the previous sibling of the replacement object. This is the case with YouTube, where a div element holds all HTML5 data.  Then use the same logic as for flash plugin.

Ivaylo Valkov <valkov>
Group administrator
Fri 29 Jul 2011 08:50:50 AM UTC, comment #4: 


To make the HTML5 switch possible in Linterna Magica, the following changes are needed.

Change the "priority" config option, so it could take multiple values. For example "html5, self, plugin".
Add a function to search for +verbatim+<video>-verbatim- tag in the parent node of the replacement +verbatim+<object>-verbatim- tag.
Make the assumption that the HTML5 player (controls and +verbatim+<video>-verbatim- tag) is in the previous sibling of the replacement object. This is the case with YouTube, where a +verbatim+<div>-verbatim- element holds all HTML5 data.  Then use the same logic as for flash plugin.

Ivaylo Valkov <valkov>
Group administrator
Fri 29 Jul 2011 08:50:27 AM UTC, comment #3: 

Posting again the parts of previous posts, because of broken markup.

To make the HTML5 switch possible in Linterna Magica, the following changes are needed.

  • Change the "priority" config option, so it could take multiple values. For example "html5, self, plugin".
  • Add a function to search for +verbatim+<video>-verbatim- tag in the parent node of the replacement +verbatim+<object>-verbatim- tag.
  • Make the assumption that the HTML5 player (controls and +verbatim+<video>-verbatim- tag) is in the previous sibling of the replacement object. This is the case with YouTube, where a +verbatim+<div>-verbatim- element holds all HTML5 data.  Then use the same logic as for flash plugin.
Ivaylo Valkov <valkov>
Group administrator
Fri 29 Jul 2011 08:49:38 AM UTC, comment #2: 

Posting again the parts of previous post, because of broken markup.

To make the HTML5 switch possible in Linterna Magica, the following changes are needed.

  1. Change the "priority" config option, so it could take multiple values. For example "html5, self, plugin".

1 Add a function to search for +verbatim+<video>-verbatim- tag in the parent node of the replacement +verbatim+<object>-verbatim- tag.
2 Make the assumption that the HTML5 player (controls and +verbatim+<video>-verbatim- tag) is in the previous sibling of the replacement object. This is the case with YouTube, where a +verbatim+<div>-verbatim- element holds all HTML5 data.  Then use the same logic as for flash plugin.

Ivaylo Valkov <valkov>
Group administrator
Fri 29 Jul 2011 08:47:45 AM UTC, comment #1: 

From all the sites in the first post, now only YouTube provides a HTML5 player.

Blip.tv+ provides a page to switch to HTML5, but it has only an explanation that their HTML5 is buggy and in beta state. It is not obvious how to switch it on.

Daylimotion has a dedicated page to switch the HTML5 player, but the button that should turn it on runs javascript:void(0) function.

Can't find the HTML5 switch page for Vimeo.

To make the HTML5 switch possible in Linterna Magica, the following changes are needed.

  1. Change the "priority" config option, so it could take multiple values. For example "html5, self, plugin".
  2. Add a function to search for +verbatim+<video>-verbatim- tag in the parent node of the replacement +verbatim+<object>-verbatim- tag.
  3. Make the assumption that the HTML5 player (controls and +verbatim+<video>-verbatim- tag) is in the previous sibling of the replacement object. This is the case with YouTube, where a +verbatim+<div>-verbatim- element holds all HTML5 data.  Then use the same logic as for flash plugin.
Ivaylo Valkov <valkov>
Group administrator
Mon 04 Apr 2011 09:53:23 AM UTC, original submission:  

If a site has HTML5 player there should be a button to switch between it and Linterna Mágica, like it is done for Gnash.

Few such sites are:

  • YouTube
  • Blip.tv
  • Dailymotion
  • Vimeo


The use cookies to set the HTML5 player on/off.

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.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-06 valkov StatusReady For Test Done
        Open/ClosedOpen Closed
    2011-08-01 valkov StatusIn Progress Ready For Test
    2011-07-30 valkov Should be Finished on2011-08-01 2011-08-05
    2011-07-29 valkov Should be Finished on2011-04-30 2011-08-01
    2011-07-29 valkov StatusPostponed In Progress
        Planned Releasenone 0.0.10

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code