Method to enable cross-origin resource sharing from a webpage inside a private network
US-9697188-B2 · Jul 4, 2017 · US
US2017289204A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2017289204-A1 |
| Application number | US-201615505871-A |
| Country | US |
| Kind code | A1 |
| Filing date | Apr 13, 2016 |
| Priority date | Apr 21, 2015 |
| Publication date | Oct 5, 2017 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
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.
Opening claim text (preview).
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. 2 . 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. 3 . 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. 4 . 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. 5 . 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. 6 . 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. 7 . 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. 8 . The method according to claim 2 , wherein the message for searching for the video information is a message formed based on JavaScript. 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. 10 . 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. 11 . 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. 12 . 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. 13 . 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. 14 . 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. 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. 16 . A computer readable storage medium comprising a program for executing the method according to claim 1 .
based on web technology, e.g. hypertext transfer protocol [HTTP] · CPC title
Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs · CPC title
Network streaming of media packets · CPC title
Web browsing {, e.g. WebTV} · CPC title
Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used (error monitoring in general G06F11/30; arrangements for monitoring conditions of receiving stations in broadcast systems H04H60/32; diagnosis, testing or measuring for television receivers H04N17/04) · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.