# US 2017/0289204 A1 · Video playing method and device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0289204 A1
- Document ID: US20170289204A1
- Status: Published application
- Kind: A1
- Application number: 15/505,871
- Filed: 2016-04-13
- Published: 2017-10-05
- Earliest claimed: 2015-04-21
- Assignees: Guangzhou Ucweb Computer Technology Co., Ltd.
- Applicants: Guangzhou Ucweb Computer Technology Co., Ltd.
- Inventors: WENJING ZHOU; CHUN LIU
- Web page: https://patentgrep.com/patent/US20170289204A1

## CPC

- H04N 21/41407: {embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop (constructional details of equipment or arrangements specially adapted for portable computer application G06F1/1626; arrangements specially adapted for mobile receivers in broadcast systems H04H20/57)}
- H04L 65/1069: Session establishment or de-establishment
- H04L 65/60: Network streaming of media packets
- H04L 65/70: Media network packetisation
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04N 21/234: Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N 21/2402: {Monitoring of the downstream path of the transmission network, e.g. bandwidth available (traffic monitoring in data switching networks H04L43/00; monitoring data switching networks utilization H04L43/0876)}
- H04N 21/4325: {by playing back content from the storage medium (reproduction of recorded television signals H04N5/76; reproduction of recorded television signals H04N9/79)}
- H04N 21/4782: Web browsing {, e.g. WebTV}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present application provides a video playing method and apparatus. The method includes: establishing a video message communication channel between a webpage main document including a webpage iframe and the webpage iframe; searching, by the webpage iframe, for a video marker included in the webpage iframe and acquiring video information according to the video marker; and receiving, by the webpage main document, the video information returned by the webpage iframe by using the communication channel, and performing video playing according to the video information. By means of the present application, a player built in a current browser can be called to perform playing during video playing, to improve user experience in playing of cross-domain video services.

## Claims

### Claim 1

A video playing method, comprising:
establishing a video message communication channel between a webpage main document comprising a webpage iframe and the webpage iframe;
searching, by the webpage iframe, for a video marker comprised in the webpage iframe and acquiring video information according to the video marker; and
receiving, by the webpage main document, the video information returned by the webpage iframe by using the communication channel, and performing video playing according to the video information.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
sending, by the webpage main document, a message for searching for the video information to the webpage iframe by using the communication channel, wherein
the searching, by the webpage iframe, for a video marker comprised in the webpage iframe and acquiring video information according to the video marker comprises: searching, by the webpage iframe, for the video marker comprised in the webpage iframe in response to the message, and acquiring the video information according to the video marker.

### Claim 3 (depends on 2)

The method according to claim 2, further comprising:
adding a monitoring instruction formed based on JavaScript into the webpage iframe for the webpage iframe to monitor the message from the webpage main document and for searching for the video information.

### Claim 4 (depends on 2)

The method according to claim 2, before the sending, by the webpage main document, a message for searching for the video information to the webpage iframe by using the communication channel, further comprising:
searching for the webpage iframe comprised in the webpage main document based on a frame tag name; and
determining whether the video information exists in a webpage main frame of the webpage main document, and executing a step of sending the message for searching for the video information to the found webpage iframe if the video information does not exist in the webpage main frame of the webpage main document.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
monitoring, by the webpage main document, a notification message from the webpage iframe; and
acquiring the video information from the detected notification message.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the receiving, by the webpage main document, the video information returned by the webpage iframe by using the communication channel comprises:
monitoring, by the webpage main document, a notification message from the webpage iframe; and
acquiring the video information from the detected notification message.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the performing video playing according to the video information comprises:
calling a player built in a current browser to perform video playing according to the video information.

### Claim 8 (depends on 2)

The method according to claim 2, wherein the message for searching for the video information is a message formed based on JavaScript.

### Claim 9

A video playing apparatus, comprising:
a communication channel establishment module, configured to establish a video message communication channel between a webpage main document comprising a webpage iframe and the webpage iframe;
a video information searching module, configured to enable the webpage iframe to search for a video marker comprised in the webpage iframe and acquire video information according to the video marker;
a video information receiving module, configured to enable the webpage main document to receive the video information returned by the webpage iframe by using the communication channel; and
a video playing module, configured to perform video playing according to the video information.

### Claim 10 (depends on 9)

The apparatus according to claim 9, further comprising:
a searching triggering module, configured to enable the webpage main document to send a message for searching for the video information to the webpage iframe by using the communication channel, wherein
the video information searching module is configured to enable the webpage iframe to search for the video marker comprised in the webpage iframe in response to the message, and acquiring the video information according to the video marker.

### Claim 11 (depends on 10)

The apparatus according to claim 10, further comprising:
a first monitoring module, configured to add a monitoring instruction formed based on JavaScript into the webpage iframe for the webpage iframe to monitor the message from the webpage main document and for searching for the video information.

### Claim 12 (depends on 10)

The apparatus according to claim 10, further comprising:
an iframe searching module, configured to search for the webpage iframe comprised in the webpage main document based on a frame tag name; and
a determining module, configured to determine whether the video information exists in a webpage main frame of the webpage main document, wherein
the searching triggering module is configured to send the message for searching for the video information to the found webpage iframe if the video information does not exist in the webpage main frame of the webpage main document.

### Claim 13 (depends on 9)

The apparatus according to claim 9, further comprising:
a second monitoring module, configured to enable the webpage main document to monitor a notification message from the webpage iframe, and acquire the video information from the detected notification message.

### Claim 14 (depends on 9)

The apparatus according to claim 9, wherein
the video information receiving module is configured to enable the webpage main document to monitor a notification message from the webpage iframe, and acquire the video information from the detected notification message.

### Claim 15

A computing device, comprising:
one or more processors;
a memory; and
one or more modules, stored in the memory and configured to be executed by the one or more processors, wherein the one or more modules are configured to:
establish a video message communication channel between a webpage main document comprising a webpage iframe and the webpage iframe;
search, by the webpage iframe, for a video marker comprised in the webpage iframe and acquire video information according to the video marker; and
receive, by the webpage main document, the video information returned by the webpage iframe by using the communication channel, and perform video playing according to the video information.

### Claim 16 (depends on 1)

A computer readable storage medium comprising a program for executing the method according to claim 1.
