Method and device for playing webpage multimedia file

A technology of multimedia files and playing methods, which is applied in the field of playing multimedia files on webpages, can solve problems such as poor user experience, achieve good experience and reduce delay

Active Publication Date: 2014-10-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing technology can realize that only one webpage player window is always opened to play songs, but every time a new song is played with the opened webpage player, the webpage player window will be reloaded, causing the page of the webpage player window to be refreshed and reinitialized page, resulting in a relatively large time delay and poor user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for playing webpage multimedia file
  • Method and device for playing webpage multimedia file
  • Method and device for playing webpage multimedia file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] In this embodiment, the multimedia file is specifically a song.

[0040] This embodiment mainly utilizes the named web browser window object, and uses the web browser window named as the preset name as a data transfer page for transferring song data. In this embodiment, the default name of the data transfer page is playWindow1.

[0041] Wherein, the browser window includes two types according to the hierarchical relationship: 1. Top-level window, that is, the outermost window (window) opened by the browser; 2. Sub-window, that is, an inline window created in the browser top-level window. frame (IFRAME). The pages in the top-level window and the sub-window can access each other and transfer data, etc. through a dynamic scripting language (javascript, etc.) under the condition that the pages loaded respectively belong to the same domain name.

[0042] like figure 2 It is the implementation flowchart of this embodiment, including:

[0043] Step 201: In a browser windo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a device for playing a webpage multimedia file. The method comprises the following steps: submitting multimedia file information to a data transfer page; judging whether the data transfer page is a browser top window or not, creating a sub window in the browser top window if the data transfer page is the browser top window, setting the sub window as the data transfer page, loading a player logic in the browser top window and playing the multimedia file by adopting the player logic in the browser top window; otherwise, transferring the multimedia file information to the browser top window of the data transfer page through the data transfer page and playing the multimedia file by adopting the player logic in the browser top window. The method and the device have the benefit that the effect that a new multimedia file can be played without refreshing a webpage player window when playing requests from other webpage browser windows are received can be realized.

Description

technical field [0001] The invention relates to the technical field of webpage players, in particular to a method and device for playing a webpage multimedia file. Background technique [0002] Web player refers to the use of web technology (such as html, javascript, flash, css, etc.) and browser playback plug-ins (wmp music player plug-in, flash music player plug-in, QQ music player plug-in, html5audio, etc.) player. [0003] The existing technology is to use the same browser window name to open the web player every time the web player is used to play songs, so that the browser will always open the web player in the same browser window to ensure that there is only one web page to play. player is playing a song. [0004] The existing technology can realize that only one webpage player window is opened to play songs all the time, but every time a new song is played with the opened webpage player, the webpage player window will be reloaded, causing the page of the webpage pl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
CPCG06F9/4843G06F9/451G06F3/0481
Inventor 傅鸿城张正国张庆
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products