Event handling in an integrated execution environment
First Claim
1. A computer-implemented method comprising:
- rendering media content at a media player program operating within a browser program that renders webpage content, such that the media content and a portion of the webpage content different from the media content are being rendered concurrently;
receiving, at the media player program, a first input from a touchscreen of a mobile device, the touchscreen representing an interface associated with the browser program;
switching the media player program from an embedded input mode to a focused input mode when the first input is a single input received inside a region of the touchscreen corresponding to the media content, andswitching the media player program from the focused input mode to the embedded input mode when the first input is a single input received inside another region of the touchscreen corresponding to the portion of the webpage content different from the media content,wherein the media content and the portion of the webpage content different from the media content remain concurrently rendered after said switching the media player program between the embedded and focused input modes;
receiving, at the media player program, a second input from the touchscreen, the second input being different from the first input; and
allowing the browser program to handle the received second input when the media player program has been switched from the focused input mode to the embedded first input mode, andhandling the received second input when the media player program has been switched from the embedded input mode to the focused input mode.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, are described for handling input received from a common interface of a program and a runtime environment when both the program and the runtime environment are configured to consume the received input. Given that both a browser program and a media player program hosted by the browser program are configured to detect an event of a certain type, there may be a contention of whether the browser program or the media player program may act first on the detected event. The disclosed systems and techniques enable interpretation of a user'"'"'s intent when the user interacts with a webpage hosting media content and when the user'"'"'s input occurs over media content rendered by the media player program. Similar advantages may also be realized within the context of another execution environment, or other program, different than a browser program.
26 Citations
21 Claims
-
1. A computer-implemented method comprising:
-
rendering media content at a media player program operating within a browser program that renders webpage content, such that the media content and a portion of the webpage content different from the media content are being rendered concurrently; receiving, at the media player program, a first input from a touchscreen of a mobile device, the touchscreen representing an interface associated with the browser program; switching the media player program from an embedded input mode to a focused input mode when the first input is a single input received inside a region of the touchscreen corresponding to the media content, and switching the media player program from the focused input mode to the embedded input mode when the first input is a single input received inside another region of the touchscreen corresponding to the portion of the webpage content different from the media content, wherein the media content and the portion of the webpage content different from the media content remain concurrently rendered after said switching the media player program between the embedded and focused input modes; receiving, at the media player program, a second input from the touchscreen, the second input being different from the first input; and allowing the browser program to handle the received second input when the media player program has been switched from the focused input mode to the embedded first input mode, and handling the received second input when the media player program has been switched from the embedded input mode to the focused input mode. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A device comprising:
-
a computer storage medium encoding a media player program and a browser program; and one or more hardware processors configured to interact with a touchscreen device, where the touchscreen device represents an interface associated with the browser program, and the one or more hardware processors are further configured to execute the media player program within the browser program, and to perform operations comprising; rendering media content within webpage content, such that the media content and a portion of the webpage content different from the media content are being rendered concurrently; receiving, by the media player program, a first input from the touchscreen device; switching the media player program from an embedded input mode to a focused input mode when the first input is a single input received inside a region of the touchscreen device corresponding to the media content, and switching the media player program from the focused input mode to the embedded input mode when the first input is a single input received inside another region of the touchscreen device corresponding to the portion of the webpage content different from the media content, wherein the media content and the portion of the webpage content different from the media content remain concurrently rendered after said switching the media player program between the embedded and focused input modes; receiving, by the media player program, a second input from the touchscreen device, the second input being different from the first input; and allowing the browser program to handle the received second input when the media player program has been switched from the focused input mode to the embedded input mode, and handling the received second input when the media player program has been switched from the embedded input mode to the focused input mode. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer storage medium encoding instructions of a media player program and a browser program that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising:
-
rendering media content by media player program executing within the browser program that renders webpage content, such that the media content and a portion of the webpage content different from the media content are being rendered concurrently; receiving, by the media player program, a first input from a touchscreen, where the touchscreen represents an interface associated with the browser program; switching the media player program from an embedded input mode to a focused input mode when the first input is a single input received inside a region of the touchscreen corresponding to the media content, and switching the media player program from the focused input mode to the embedded input mode when the first input is a single input received inside another region of the touchscreen corresponding to the portion of the webpage content different from the media content, wherein the media content and the portion of the webpage content different from the media content remain concurrently rendered after said switching the media player program between the embedded and focused input modes; receiving, at the media player program, a second input from the touchscreen, the second input being different from the first input; and allowing the browser program to handle the received second input when the media player program has been switched from the focused input mode to the embedded input mode, and handling the received second input when the media player program has been switched from the embedded input mode to the focused input mode. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification