主权项 |
1. A method of monitoring media in a web page, the method comprising:
loading, by executing an instruction with a processor, a web page to a user device; generating, by executing the instruction with the processor, successive images of the web page as displayed on the user device; detecting, by executing the instruction with the processor, based on the successive images, a media player contained in the web page, a media content area associated with the media player for displaying the media, and a media control associated with the media player; comparing, by executing the instruction with the processor, the successive images to detect changes between the successive images indicative of motion in the media content area; analyzing, by executing the instruction with the processor, the successive images to determine a state of the media player; determining, by executing the instruction with the processor, whether the media player is playing the media based on the detected motion and the determined state of the media player; commanding, by executing the instruction with the processor, without user intervention, the media player to play the media when the media player is not playing the media; generating, by executing the instruction with the processor, based on first media information of the media displayed in the media content area, when the media is playing at a first time, a digital signature of the media; determining, by executing the instruction with the processor, based on the successive images, whether the media is finished playing; updating, by executing the instruction with the processor, based on second media information of the media displayed in the media content area, the generated digital signature when the media is not finished playing at a second time later than the first time; and comparing, by executing the instruction with the processor, the generated digital signature with a database of digital signatures to specifically identify the media when the media is finished playing. |