corbindavenport / noplugin

Play legacy media in modern browsers without plugins.
GNU General Public License v3.0
27 stars 9 forks source link

Add support for embeds/objects using playlists #57

Closed fire-bot closed 5 years ago

fire-bot commented 5 years ago

Sent by Pradeep Danthi. Created by fire.


Please describe the issue: https://content.houston.hp.com/production_common2/cninv000000000672841/course/015_Value_Customer/005_Sell_Comp_Infra/syn_l1_005_pop_pm_vid_slide1-2.htm

corbindavenport commented 5 years ago

Looks like this embed points to an ASX file, an XML-style document that links to other media files like a playlist. The file does work when streamed through VLC, but not when downloaded, because that file doesn't spell out the full URL path:

<ASX VERSION="3.0">
<TITLE>Paul Miller - Composable Infrastructure</TITLE>
<ENTRY>
<TITLE>Composable Infrastructure/In the Idea Economy, IT is the business partner for value creation</TITLE>
<REF HREF="PM_CI_Slide_1-2.wmv" />
</ENTRY>
</ASX>

The best implementation would be for NoPlugin to process these as XML and display a list to the user, with each list item having the title (if available, or else fallback to file name) with a download button. This might need to be in a popup window, in cases where the embed would be too cramped.

If that's not viable, NoPlugin could treat ASX links the same way it does for livestream links: walk the user through opening it in VLC.

corbindavenport commented 5 years ago

Hmm, there are a bunch of different playlist formats that could also be in use by some embeds:

https://en.wikipedia.org/wiki/Windows_Media_Player_Playlist http://www.streamalot.com/playlists.shtml

It might be best to go the VLC approach first, and add a more complex playlist UI later. Maybe if NoPlugin can detect only one file in the playlist (like in the original example), it can try to play that in the page, otherwise the link gets handed off to VLC.

corbindavenport commented 5 years ago

This feature is now rolling out as part of the 5.2 update.