﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
9301	Flash player integration for MythNetvision	Jonatan <mythtv@…>	robertm	"The attached patches adds playback control of Flash players that have a JavaScript API.  Players lacking a JavaScript API should be possible to support by sending QMouseEvents, as long as 'wmode' is set to 'opaque' to prevent the Flash player from stealing focus.

Supported sites are Vimeo and Youtube.  Adding support for other sites involves creating a HTML file that wraps the respective Flash player's JavaScript API, and an update to the grabber to use the MythXML method, and replace mythflash:// with http:// in the URLs.

* mythuiwebbrowser.patch: Adds an evaluateJavaScript(const QString& src) method.

 It also adds a call to m_browser->hide() in the destructor.  This seems to properly return focus back to the main UI which in some cases were lost.

* mythbackend.patch: Adds a new MythXML method GetInternetContent that returns a HTML page for a specific grabber and video ID.  Using file:// did not seem to work with the HTML files added/modified in scripts.patch.

* scripts.patch: Adds a method to construct an URL for the GetInternetContent method added above.  The patch also adapts the Vimeo and Youtube grabbers to use this method, and also modifies/adds HTML files that use the respective site's JavaScript API.

* mythbrowser.patch: Adds a new class MythFlashPlayer that evaluates JavaScript in order to control video playback.  Current available controls are play, pause, and seek.

 This class is used whenever a URL starts with mythflash://.

* mythflash.patch: All of the above patches."	Patch - Feature	closed	minor	unknown	Plugin - MythNetvision	Master Head	medium	Fixed			0
