Declaratively responding to state changes in an interactive multimedia environment
First Claim
1. A method for arranging an application to respond to state changes, the application comprising a markup component and at least one script component and providing one or more graphic elements that are synchronous with a video stream in an interactive multimedia environment, the method comprising the steps of:
- in response to an event generated by a user, modifying at least one state attribute of a content element in the markup component;
parsing the markup component to create a document object model (“
DOM”
);
recursively introspecting the DOM to retrieve the at least one state attribute; and
triggering processing responsively to the recursive introspection to thereby respond to the state change.
2 Assignments
0 Petitions
Accused Products
Abstract
Using declarative language application instructions, actions associated with playing interactive content of an interactive multimedia presentation are triggered based on a state change of a particular media object. Certain application instructions specify the characteristic of the media object, while other application instructions specify the actions associated with playing the interactive content (for example, when media objects are renderable, event generation, script execution, or changes in variables) based on a state change of the characteristic. The state change is detected by querying a structured representation of the application such as a document object model, which includes nodes associated with the application instructions, the media object, and/or the characteristic. When state changes are detected, one or more of the specified actions are triggered to thereby declaratively respond to the state change. In an illustrative example, the state changes are tracked using attributes which include foreground, focused, pointer, actioned, enabled, and value.
157 Citations
20 Claims
-
1. A method for arranging an application to respond to state changes, the application comprising a markup component and at least one script component and providing one or more graphic elements that are synchronous with a video stream in an interactive multimedia environment, the method comprising the steps of:
-
in response to an event generated by a user, modifying at least one state attribute of a content element in the markup component;
parsing the markup component to create a document object model (“
DOM”
);
recursively introspecting the DOM to retrieve the at least one state attribute; and
triggering processing responsively to the recursive introspection to thereby respond to the state change. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A machine-readable medium containing instructions which, when performed by one or more processors disposed in an electronic device, performs a method for handling user events in interactive multimedia environment, the method comprising the steps of:
-
processing an application in which at least a portion of an application is defined using a declarative description;
creating a runtime context for the application by generating a document object model (“
DOM”
) using the declarative description, the DOM comprising a plurality of state elements and providing an interface to the application to thereby enable modification to the declarative description;
responsively to a user event, modifying one or more state elements among the plurality of state elements in the DOM and delivering the user event to the application through the interface according to the modified state elements. - View Dependent Claims (13, 14, 15)
-
-
16. A machine-readable medium including software executed by at least one processor, the software comprising:
-
a presentation engine arranged for a) decoding a declarative description of an application running in an interactive multimedia environment to thereby generate a document object model (“
DOM”
) comprising a plurality of nodes, andb) querying the DOM to retrieve a state attribute from an element disposed in a node in the plurality of nodes;
an input event interface operatively coupled to the presentation engine for receiving an event associated with user interaction; and
a memory interface coupled to the presentation engine for addressing a memory arranged for storing the DOM. - View Dependent Claims (17, 18, 19, 20)
-
Specification