В 18:04 +0100 на 26.02.2012 (нд), tegskywalker[@nospam] написа: > I haven't looked at Lintera > Magica in a while, but does that script get the direct links to the MP4 or > WebM in the same way the Greasemonkey scripts do and push to the VLC or Totem > > plugins?
I don't know for other scripts, but I can tell you how Linterna Magica works in YouTube. The website returns a lot of scripts. These are parsed as text and searched for few special variables that hold direct URLs to the clips and a map that connects the format with the link, so links can be selected in the interface. Then one preferred link (depends on config) is passed to HTML <object/> usually with mime-type video/flv. When it is inserted into the document the browser starts the plugin responsible for the mime-type. Does that answer your question?
signature.asc
Description: This is a digitally signed message part
