WO2018107997A1 - 视频播放模式转换方法、装置及移动终端 - Google Patents

视频播放模式转换方法、装置及移动终端 Download PDF

Info

Publication number
WO2018107997A1
WO2018107997A1 PCT/CN2017/114542 CN2017114542W WO2018107997A1 WO 2018107997 A1 WO2018107997 A1 WO 2018107997A1 CN 2017114542 W CN2017114542 W CN 2017114542W WO 2018107997 A1 WO2018107997 A1 WO 2018107997A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
play
mode
conversion
tag
Prior art date
Application number
PCT/CN2017/114542
Other languages
English (en)
French (fr)
Inventor
刘欣
喻哲常
莫同
Original Assignee
广州市动景计算机科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州市动景计算机科技有限公司 filed Critical 广州市动景计算机科技有限公司
Publication of WO2018107997A1 publication Critical patent/WO2018107997A1/zh
Priority to US16/441,986 priority Critical patent/US10841530B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0127Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level by changing the field or frame frequency of the incoming video signal, e.g. frame rate converter
    • H04N7/013Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level by changing the field or frame frequency of the incoming video signal, e.g. frame rate converter the incoming video signal comprising different parts having originally different frame rate, e.g. video and graphics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/139Format conversion, e.g. of frame-rate or size
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/332Displays for viewing with the aid of special glasses or head-mounted displays [HMD]
    • H04N13/344Displays for viewing with the aid of special glasses or head-mounted displays [HMD] with head-mounted left-right displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/356Image reproducers having separate monoscopic and stereoscopic modes
    • H04N13/359Switching between monoscopic and stereoscopic modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0112Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards corresponding to a cinematograph film standard
    • H04N7/0115Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level one of the standards corresponding to a cinematograph film standard with details on the detection of a particular field or frame pattern in the incoming video signal, e.g. 3:2 pull-down pattern

Definitions

  • the present invention relates to the field of browser technologies, and in particular, to a video playback mode conversion method and apparatus, and a mobile terminal.
  • VR virtual reality
  • users can use mobile terminals to cooperate with VR glasses to watch VR video.
  • a user may need to find a dedicated VR video source, or need to use a special playback software to convert the ordinary video into a VR video.
  • most video websites do not currently provide a dedicated VR video source, and the online video in the website cannot be played through the playback software, resulting in the user not being able to view the video content on the website in VR mode.
  • an object of the present invention is to provide a video playback mode conversion method, the method comprising:
  • the play mode of the video content is converted between the normal video play mode and the VR video play mode.
  • the VR video playing mode is a video playing mode suitable for VR glasses viewing.
  • the step of converting the play mode of the video content between the normal video play mode and the VR video play mode includes:
  • the play window in the normal video play mode is adjusted to two horizontally side-by-side play windows, thereby converting the play mode of the video content from the normal video play mode to the VR video play mode.
  • Another object of the present invention is to provide a video playback mode conversion apparatus, the apparatus comprising:
  • a video content detecting module configured to detect whether video content exists in a browser page
  • a conversion button insertion module configured to insert a conversion button in the page when there is a video content to be played in the browser page
  • a conversion module configured to convert a play mode of the video content between a normal video play mode and a VR video play mode when detecting a user operation on the conversion button.
  • the VR video playing mode is a video playing mode suitable for VR glasses viewing.
  • the manner in which the conversion module converts the play mode of the video content between the normal video play mode and the VR video play mode includes:
  • the play window in the normal video play mode is adjusted to two horizontally side-by-side play windows, thereby converting the play mode of the video content from the normal video play mode to the VR video play mode.
  • Another object of the present invention is to provide a terminal device, where the terminal device includes:
  • a software program for video playback mode conversion the software program being stored in the memory and operable on a processor, the following steps being implemented when the processor executes the software program:
  • the play mode of the video content is converted between the normal video play mode and the VR video play mode.
  • the VR video playing mode is a video playing mode suitable for VR glasses viewing
  • the converting module sets a play mode of the video content between a normal video playing mode and a VR video playing mode.
  • the ways to convert include:
  • the play window in the normal video play mode is adjusted to two horizontally side-by-side play windows, thereby converting the play mode of the video content from the normal video play mode to the VR video play mode.
  • Another object of the present invention is to provide a storage device in which a plurality of instructions are stored, the instructions being adapted to be loaded by a processor and to execute the video playback mode conversion method.
  • the present invention has the following beneficial effects:
  • the present invention provides a video playback mode conversion method and apparatus, and a mobile terminal, by detecting a video content in a browser page, inserting a conversion button on the page when the video content exists in the page.
  • detecting the operation of the conversion button by the user playing the play mode of the video content in the normal video play mode and
  • the conversion between VR video playback modes enables the purpose of viewing video content on the website in VR mode.
  • FIG. 1 is a schematic diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for converting a video play mode according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a conversion button according to an embodiment of the present invention.
  • FIG. 4 is a second schematic diagram of a conversion button according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a normal video playing mode according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a VR video playing mode according to an embodiment of the present invention.
  • step S130 in FIG. 2 is a schematic flow chart of a sub-step of step S130 in FIG. 2;
  • FIG. 8 is a second schematic flowchart of a video playback mode conversion method according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a video playback mode conversion apparatus according to an embodiment of the present invention.
  • FIG. 10 is a second schematic diagram of a video play mode conversion apparatus according to an embodiment of the present invention.
  • Icon 100-mobile terminal; 110-video playback mode conversion device; 111-video content detection module; 112-conversion button insertion module; 113-conversion module; 1131-video tag insertion sub-module; 1132-video window adjustment sub-module; 114-video playback module; 120-memory; 130-processor; 140-display unit.
  • the terms “set”, “install”, “connected”, and “connected” are to be understood broadly, and may be fixed connections, for example, unless otherwise specifically defined and defined. It can also be a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and can be internal communication between the two elements.
  • the specific meaning of the above terms in the present invention can be understood in a specific case by those skilled in the art.
  • FIG. 1 is a schematic diagram of a mobile terminal 100 according to an embodiment of the present invention.
  • the mobile terminal 100 can be, but not limited to, a smart phone, a personal computer (PC), a tablet computer, a personal digital assistant (PDA), a mobile Internet device (MID), and the like.
  • the operating system of the mobile terminal 100 may be, but not limited to, an Android system, an IOS (iPhone operating system) system, a Windows phone system, a Windows system, and the like.
  • the mobile terminal 100 is installed with a browser application that can be used to browse web video content.
  • the mobile terminal 100 includes a video play mode conversion device 110, a memory 120, a processor 130, and a display unit 140.
  • the components of the memory 120, the processor 130, and the display unit 140 are electrically connected directly or indirectly to each other to implement data transmission or interaction.
  • the components can be electrically connected to one another via one or more communication buses or signal lines.
  • the video playback mode conversion device 110 includes at least one software function module that can be stored in the memory 120 or in an operating system (OS) of the mobile terminal 100 in the form of software or firmware.
  • the processor 130 is configured to execute an executable module stored in the memory 120, such as a software function module, a computer program, and the like included in the video playback mode conversion device 110.
  • the memory 120 may be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like. Wherein, the memory 120 is used to store a program, and the processor 130 receives the execution finger. After the order, the program is executed.
  • RAM random access memory
  • ROM read only memory
  • PROM programmable read-only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electric Erasable Programmable Read-Only Memory
  • the processor 130 may be an integrated circuit chip with signal processing capabilities.
  • the above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or may be a digital signal processor (DSP), an application specific integrated circuit (ASIC) ), off-the-shelf programmable gate arrays (FPGAs) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the display unit 140 provides an interactive interface (such as a video play window) between the mobile terminal 100 and a user or for displaying image data.
  • the display unit 140 may be a liquid crystal display or a touch display.
  • a touch display it can be a capacitive touch screen or a resistive touch screen that supports single-point and multi-touch operations. Supporting single-point and multi-touch operations means that the touch display can sense a touch operation generated from one or more positions on the touch display, and the touch operation is performed by the processor 130. Calculation and processing.
  • FIG. 2 is a schematic flowchart of a video playback mode conversion method applied to the mobile terminal 100 shown in FIG. 1. The method includes the following steps.
  • Step S110 detecting whether video content exists in the browser page.
  • the video content in the browser page is presented by the video tag (ie ⁇ video> tag) in the HTML file of the page. Therefore, in the embodiment, the mobile terminal 100 can determine whether the video content exists in the page by detecting whether the first video tag containing the video playing content exists in the HTML file of the browser page.
  • step S120 when there is video content to be played in the browser page, a conversion button is inserted in the page.
  • the mobile terminal 100 After detecting that the first video tag exists in the HTML file, the mobile terminal 100 inserts a conversion button in the page, and the conversion button may be used before the normal video playing mode and the VR video playing mode. Switch.
  • the mobile terminal 100 inserts a conversion button display label in the HTML file, and converts the conversion button corresponding to the conversion button display label. Dye on the page.
  • the mobile terminal 100 executes a conversion button display script in a JavaScript format, and the mobile terminal 100 uses the conversion button script to A floating transition button is displayed on the page.
  • Step S130 when detecting the operation of the conversion button by the user, converting the play mode of the video content between the normal video play mode and the VR video play mode.
  • the VR video playing mode is a video playing mode suitable for VR glasses viewing, and the mobile terminal 100 in the VR video playing mode displays two video images by using the VR glasses, and the two video images are respectively given to the left eye and the right. Eye viewing for a visually pleasing effect.
  • the mobile terminal 100 adjusts the play window in the normal video play mode shown in FIG. 5 to two horizontally side-by-side play windows as shown in FIG. 6, thereby implementing the The play mode of the video content is converted from the normal video play mode to the VR video play mode, so that the video play content is suitable for viewing using VR glasses.
  • step S130 may include sub-step S131 and sub-step S132, and sub-step S131 and sub-step S132 are described in detail below.
  • Sub-step S131 inserting a second video tag identical to the content of the first video tag in an HTML file of the browser page.
  • the mobile terminal 100 copies a second video tag that is the same as the first video tag by using the browser itself, and inserts the second video tag into the HTML file. .
  • the mobile terminal 100 sends a request for acquiring a video conversion script in the form of a JavaScript to a third-party server, and executes the received video conversion script to the HTML file. Inserting a second video tag identical to the first video tag.
  • Sub-step S132 the display structure of the HTML file is adjusted, and the video windows corresponding to the first video tag and the second video tag are displayed side by side horizontally.
  • the mobile terminal 100 After the mobile terminal 100 inserts the second video tag into the HTML file, the CSS structure of the HTML file is adjusted by a browser itself or a JavaScript script to make the first video tag and the first
  • the video windows corresponding to the two video tags are displayed side by side horizontally.
  • the mobile terminal 100 also adjusts the screen display mode to a horizontal screen display, and the first video tag and the second video tag. The corresponding video windows are displayed side by side horizontally.
  • the method may further include step S140.
  • Step S140 Receive a request for the user to start video playback, and synchronously play the video content corresponding to the first video tag and the second video tag.
  • the mobile terminal 100 After receiving the request for the user to play the video, the mobile terminal 100 synchronously plays the video content on the video window corresponding to the first video tag and the second video tag. In this way, with the cooperation of the VR glasses, the images of the two video windows can be respectively displayed to the left and right eyes of the user to achieve the effect of stereoscopic imaging.
  • FIG. 9 is a functional block diagram of a video playback mode conversion apparatus 110 provided by this embodiment.
  • the video play mode conversion device 110 includes a video content detection module 111, a conversion button insertion module 112, and a conversion button insertion module 112.
  • the video content detecting module 111 is configured to detect whether video content exists in a browser page.
  • the video content detecting module 111 can be used to perform step S110 shown in FIG. 2, and the description of the step S110 can be referred to for a detailed description of the video content detecting module 111.
  • the manner in which the video content detecting module 111 detects whether video content exists in the page includes:
  • the conversion button insertion module 112 is configured to insert a conversion button in the page when there is video content to be played in the browser page.
  • the conversion button insertion module 112 can be used to perform step S120 shown in FIG. 2, and a detailed description about the conversion button insertion module 112 can refer to the description of the step S120.
  • the manner in which the conversion button insertion module 112 is used to insert a conversion button includes:
  • a conversion button is executed to display the script, and a floating transition button is displayed on the page.
  • the conversion module 113 is configured to convert a play mode of the video content between a normal video play mode and a VR video play mode when detecting a user operation on the conversion button.
  • the conversion module 113 can be used to perform step S130 shown in FIG. 2, and a detailed description of the conversion module 113 can refer to the description of the step S130.
  • the VR video playing mode is a video playing mode suitable for VR glasses viewing
  • the converting module 113 converts the playing mode of the video content between the normal video playing mode and the VR video playing mode, including :
  • the manner in which the conversion module 113 adjusts the play window in the normal video play mode to two horizontally side-by-side play windows includes:
  • the conversion module 113 includes a video tag insertion submodule 1131 and a video window adjustment submodule 1132.
  • the video tag insertion sub-module 1131 is configured to insert a second video tag that is the same as the content of the first video tag in an HTML file of the browser page.
  • the video tag insertion sub-module 1131 can be used to perform step S131 shown in FIG. 7.
  • the description of the step S131 can be referred to.
  • the video window adjustment sub-module 1132 is configured to adjust a display structure of the HTML file, and display the video windows corresponding to the first video tag and the second video tag side by side.
  • the video window adjustment sub-module 1132 can be used to perform step S132 shown in FIG. 7.
  • the description of the step S132 can be referred to.
  • the manner in which the video window adjustment sub-module 1132 displays the video windows corresponding to the first video tag and the second video tag side by side in a horizontal direction includes:
  • the apparatus further includes a video playback module 114.
  • the video playing module 114 is configured to receive a request for the user to start the video playing, and synchronously play the video content corresponding to the first video tag and the second video tag.
  • the video playing module 114 can be used to perform step S140 shown in FIG. 8.
  • the description of the step S140 can be referred to.
  • the present invention provides a video playback mode conversion method and apparatus, and a mobile terminal 100, by detecting a video content in a browser page, inserting a conversion button on the page when the video content exists in the page. . And when detecting the operation of the conversion button by the user, adjusting the play window in the normal video play mode to two horizontally side-by-side play windows to synchronously play the video content, thereby realizing playing the normal video on the browser page.
  • the mode is converted to VR video playback mode.
  • the mobile terminal is taken as an example for description, it can also be extended to any terminal device having a memory, a processor, and the above-described video playback mode conversion device 110.
  • the video play mode conversion device 110 may include a software function module and a computer program, that is, the video play mode conversion device may be implemented by a software program, and thus an embodiment of the present invention further provides a terminal.
  • Equipment the terminal equipment includes:
  • a software program for video playback mode conversion the software program being stored in the memory and operable on a processor, the following steps being implemented when the processor executes the software program:
  • the play mode of the video content is converted between the normal video play mode and the VR video play mode.
  • the VR video playing mode is a video playing mode suitable for VR glasses viewing; the step of converting the playing mode of the video content between the normal video playing mode and the VR video playing mode includes:
  • the play window in the normal video play mode is adjusted to two horizontally side-by-side play windows, thereby converting the play mode of the video content from the normal video play mode to the VR video play mode.
  • the step of detecting whether the video content exists in the page includes:
  • the manner of inserting a conversion button in the page includes:
  • a conversion button is executed to display the script, and a floating transition button is displayed on the page.
  • the step of adjusting the play window in the normal video play mode to two horizontally side-by-side play windows includes:
  • the display structure of the HTML file is adjusted, and the video windows corresponding to the first video tag and the second video tag are displayed side by side horizontally.
  • the step of displaying the video windows corresponding to the first video tag and the second video tag side by side in a horizontal direction includes:
  • the manner of adjusting the play window in the normal video play mode to two horizontally side-by-side play windows includes:
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
  • the present invention also provides a storage device in which a plurality of instructions are stored, the instructions being adapted to be loaded by a processor and to perform the video play mode conversion method described in the above embodiments or a combination thereof with the preferred embodiment Describes the video playback mode conversion method.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明提供的一种视频播放模式转换方法、装置及移动终端,所述方法包括:检测浏览器页面中是否存在视频内容;当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮;当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。如此,使得用户可以在浏览器上将网站页面上的普通视频转换为VR视频进行观看。

Description

视频播放模式转换方法、装置及移动终端
相关申请
本申请主张于2016年12月15日提交的、名称为“视频播放模式转换方法、装置及移动终端”、申请号为201611158785.0的中国发明专利申请的优先权。
技术领域
本发明涉及浏览器技术领域,具体而言,涉及一种视频播放模式转换方法、装置及移动终端。
背景技术
随着虚拟现实(VR,Virtual Reality)技术的迅速发展,用户可以使用移动终端与VR眼镜配合来观看VR视频。现有技术中用户在观看VR视频时,或需要寻找专门的VR视频源,或需要使用专门的播放软件将普通视频转化为VR视频。但是目前大多数视频网站尚不提供专门的VR视频源,且网站中的在线视频无法通过播放软件进行播放,造成了用户无法在VR模式下观看网站上的视频内容。
发明内容
为了克服现有技术中的上述不足,本发明的目的在于提供一种视频播放模式转换方法,所述方法包括:
检测浏览器页面中是否存在视频内容;
当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮;
当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。
进一步地,在上述方法中,所述VR视频播放模式为适用于VR眼镜观看的视频播放模式。所述将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换的步骤包括:
将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口,从而实现将所述视频内容的播放模式由普通视频播放模式转换为VR视频播放模式。
本发明的另一目的在于提供一种视频播放模式转换装置,所述装置包括:
视频内容检测模块,用于检测浏览器页面中是否存在视频内容;
转换按钮插入模块,用于当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮;
转换模块,用于当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。
进一步地,在上述装置中,所述VR视频播放模式为适用于VR眼镜观看的视频播放模式。所述转换模块将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换的方式包括:
将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口,从而实现将所述视频内容的播放模式由普通视频播放模式转换为VR视频播放模式。
本发明的另一目的在于提供一种终端设备,所述终端设备包括:
存储器;
处理器;及
用于视频播放模式转换的软件程序,该软件程序保存在所述存储器中并且可在处理器上运行,当所述处理器执行该软件程序时实现以下步骤:
检测浏览器页面中是否存在视频内容;
当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮;
当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。
进一步地,在上述终端设备中,所述VR视频播放模式为适用于VR眼镜观看的视频播放模式,所述转换模块将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换的方式包括:
将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口,从而实现将所述视频内容的播放模式由普通视频播放模式转换为VR视频播放模式。
本发明的另一目的在于提供一种存储装置,其中存储有多条指令,所述指令适于由处理器加载并执行所述的视频播放模式转换方法。
相对于现有技术而言,本发明具有以下有益效果:
本发明提供的一种视频播放模式转换方法、装置及移动终端,通过检测浏览器页面中的视频内容,在所述页面中存在视频内容时在该页面上插入一转换按钮。在检测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和 VR视频播放模式之间进行转换,可以实现在VR模式下观看网站上的视频内容的目的。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。
图1为本发明实施例提供的移动终端的示意图;
图2为本发明实施例提供的视频播放模式转换方法的流程示意图之一;
图3为本发明实施例提供的转换按钮的示意图之一;
图4为本发明实施例提供的转换按钮的示意图之二;
图5为本发明实施例提供的普通视频播放模式示意图;
图6为本发明实施例提供的VR视频播放模式示意图;
图7为图2中步骤S130的子步骤流程示意图;
图8为本发明实施例提供的视频播放模式转换方法的流程示意图之二;
图9为本发明实施例提供的视频播放模式转换装置的示意图之一;
图10为本发明实施例提供的视频播放模式转换装置的示意图之二。
图标:100-移动终端;110-视频播放模式转换装置;111-视频内容检测模块;112-转换按钮插入模块;113-转换模块;1131-视频标签插入子模块;1132-视频窗口调整子模块;114-视频播放模块;120-存储器;130-处理器;140-显示单元。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。
因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
在本发明的描述中,需要说明的是,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
在本发明的描述中,还需要说明的是,除非另有明确的规定和限定,术语“设置”、“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。
请参照图1,图1位本发明实施例提供的移动终端100的示意图。所述移动终端100可以是,但不限于,智能手机、个人电脑(personal computer,PC)、平板电脑、个人数字助理(personal digital assistant,PDA)、移动上网设备(mobile Internet device,MID)等。所述移动终端100的操作系统可以是,但不限于,安卓(Android)系统、IOS(iPhone operating system)系统、Windows phone系统、Windows系统等。所述移动终端100安装有可用于浏览网页视频内容的浏览器应用程序。所述移动终端100包括视频播放模式转换装置110、存储器120、处理器130及显示单元140。
存储器120、处理器130及显示单元140各元件相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。所述视频播放模式转换装置110包括至少一个可以软件或固件(firmware)的形式存储于所述存储器120中或固化在所述移动终端100的操作系统(operating system,OS)中的软件功能模块。所述处理器130用于执行所述存储器120中存储的可执行模块,例如所述视频播放模式转换装置110所包括的软件功能模块及计算机程序等。
其中,所述存储器120可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。其中,存储器120用于存储程序,处理器130在接收到执行指 令后,执行所述程序。
所述处理器130可能是一种集成电路芯片,具有信号的处理能力。上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(DSP))、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述显示单元140在所述移动终端100与用户之间提供一个交互界面(例如视屏播放窗口)或用于显示图像数据。在本实施例中,所述显示单元140可以是液晶显示器或触控显示器。若为触控显示器,其可为支持单点和多点触控操作的电容式触控屏或电阻式触控屏等。支持单点和多点触控操作是指触控显示器能感应到来自该触控显示器上一个或多个位置处产生的触控操作,并将该感应到的触控操作交由处理器130进行计算和处理。
请参照图2,图2为应用于图1所示移动终端100的一种视频播放模式转换方法的流程示意图,所示方法包括以下步骤。
步骤S110,检测浏览器页面中是否存在视频内容。
一般而言,浏览器页面中的视频内容是通过该页面的HTML文件中的视频标签(即<video>标签)展现的。故在本实施例中,所示移动终端100可通过检测浏览器页面的HTML文件中是否存在包含视频播放内容的第一视频标签,来判断该页面中是否存在视频内容。
步骤S120,当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮。
所述移动终端100在检测到所述HTML文件中存在所述第一视频标签后,在所述页面中插入一转换按钮,所述转换按钮可以用于在普通视频播放模式与VR视频播放模式之前切换。
可选地,请参照图3,在本实施例的一种实施方式中,所述移动终端100在所述HTML文件中插入一转换按钮显示标签,将所述转换按钮显示标签对应的转换按钮渲 染至所述页面上。
可选地,请参照图4,在本实施例的另一种实施方式中,所述移动终端100执行一JavaScript格式的转换按钮显示脚本,所述移动终端100通过所述转换按钮脚本在所述页面上显示一浮动的转换按钮。
步骤S130,当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。
所述VR视频播放模式为适用于VR眼镜观看的视频播放模式,VR视频播放模式下的所述移动终端100通过显示两个视频画面,并配合VR眼镜将两个视频画面分别给左眼和右眼观看以达到视觉上的立体效果。
故在本实施例中,所述移动终端100将如图5所示的所述普通视频播放模式下的播放窗口调整为如图6所示的两个横向并排的播放窗口,从而实现将所述视频内容的播放模式由普通视频播放模式转换为VR视频播放模式,使得所述视频播放内容适用于使用VR眼镜观看。
具体地,请参照图7,为实现步骤S130的目的,本实施例中,步骤S130可以包括子步骤S131和子步骤S132,下面对子步骤S131和子步骤S132进行详细阐述。
子步骤S131,在所述浏览器页面的HTML文件中插入与所述第一视频标签内容相同的第二视频标签。
在本实施例的一种实施方式中,所述移动终端100通过浏览器本身复制一与所述第一视频标签相同的第二视频标签,并将所述第二视频标签插入所述HTML文件中。
在本实施例的另一种实施方式中,所述移动终端100在向第三方服务器发送一获取JavaScript形式的视频转化脚本的请求,并执行接收到的所述视频转换脚本,向所述HTML文件中插入一与所述第一视频标签相同的第二视频标签。
子步骤S132,调整所述HTML文件的显示结构,将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
所述移动终端100在将所述第二视频标签插入所述HTML文件后,通过浏览器本身或JavaScript的脚本对所述HTML文件的CSS结构进行调整,使所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。在本实施例中,所述移动终端100还将屏幕显示方式调整为横屏显示,并将所述第一视频标签及所述第二视频标签 对应的视频窗口横向并排显示。
进一步地,请参照图8,所述方法还可以包括步骤S140。
步骤S140,接收用户启动视频播放的请求,将所述第一视频标签及所述第二视频标签对应的视频内容进行同步播放。
所述移动终端100在接收到用户播放视频的请求后,将视频内容在所述第一视频标签及所述第二视频标签对应的视频窗口上同步播放。如此,在VR眼镜的配合下,可以将两个视频窗口的图像分别展示给用户的左眼和右眼观看,达到立体成像的效果。
请参照图9,图9位本实施例提供的一种视频播放模式转换装置110的功能模块框图。所述视频播放模式转换装置110包括视频内容检测模块111、转换按钮插入模块112及转换按钮插入模块112。
所述视频内容检测模块111,用于检测浏览器页面中是否存在视频内容。本实施例中,所述视频内容检测模块111可用于执行图2所示的步骤S110,关于所述视频内容检测模块111的具体描述可参对所述步骤S110的描述。
具体地,所述视频内容检测模块111检测页面中是否存在视频内容的方式包括:
检测浏览器页面的HTML文件中的标签,判断所述HTML文件中是否存在包含视频播放内容的第一视频标签。
所述转换按钮插入模块112,用于当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮。本实施例中,所述转换按钮插入模块112可用于执行图2所示的步骤S120,关于所述转换按钮插入模块112的具体描述可参对所述步骤S120的描述。
具体地,所述转换按钮插入模块112用于插入一转换按钮的方式包括:
在所述HTML文件中插入一转换按钮显示标签,将所述转换按钮显示标签对应的转换按钮渲染至所述页面上;或
执行一转换按钮显示脚本,在所述页面上显示一浮动的转换按钮。
所述转换模块113,用于当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。本实施例中, 所述转换模块113可用于执行图2所示的步骤S130,关于所述转换模块113的具体描述可参对所述步骤S130的描述。
具体地,所述VR视频播放模式为适用于VR眼镜观看的视频播放模式,所述转换模块113将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换的方式包括:
将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口,从而实现将所述视频内容的播放模式由普通视频播放模式转换为VR视频播放模式,使得所述视频播放内容适用于使用VR眼镜观看。
进一步地,在本实施例中,所述转换模块113将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口的方式包括:
向第三方服务器发送一获取视频转化脚本的请求,并执行接收到的所述视频转换脚本,将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口。
具体地,请参照图10,所述转换模块113包括:视频标签插入子模块1131及视频窗口调整子模块1132。
所述视频标签插入子模块1131,用于在所述浏览器页面的HTML文件中插入与所述第一视频标签内容相同的第二视频标签。本实施例中,所述视频标签插入子模块1131可用于执行图7所示的步骤S131,关于所述视频标签插入子模块1131的具体描述可参对所述步骤S131的描述。
所述视频窗口调整子模块1132,用于调整所述HTML文件的显示结构,将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。本实施例中,所述视频窗口调整子模块1132可用于执行图7所示的步骤S132,关于所述视频窗口调整子模块1132的具体描述可参对所述步骤S132的描述。
具体地,所述视频窗口调整子模块1132将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示的方式包括:
将屏幕显示方式调整为横屏显示,并将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
进一步地,请再次参照图10,所述装置还包括视频播放模块114。
所述视频播放模块114,用于接收用户启动视频播放的请求,将所述第一视频标签及所述第二视频标签对应的视频内容进行同步播放。本实施例中,所述视频播放模块114可用于执行图8所示的步骤S140,关于所述视频播放模块114的具体描述可参对所述步骤S140的描述。
综上所述,本发明提供的一种视频播放模式转换方法、装置及移动终端100,通过检测浏览器页面中的视频内容,在所述页面中存在视频内容时在该页面上插入一转换按钮。并在检测到用户对所述转换按钮的操作时,将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口同步播放视屏内容,实现了在浏览器页面上将普通视频播放模式转换为VR视频播放模式。
这里虽然以移动终端为例来进行描述,但还可以推广至具有存储器、处理器、和上述视频播放模式转换装置110的任意终端设备。另外,上面也描述了所述视频播放模式转换装置110可以包括软件功能模块及计算机程序,即可以通过软件程序来实现所述视频播放模式转换装置,由此本发明实施例还提供了一种终端设备,该终端设备包括:
存储器;
处理器;及
用于视频播放模式转换的软件程序,该软件程序保存在所述存储器中并且可在处理器上运行,当所述处理器执行该软件程序时实现以下步骤:
检测浏览器页面中是否存在视频内容;
当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮;
当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。
其中,所述VR视频播放模式为适用于VR眼镜观看的视频播放模式;所述将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换的步骤包括:
将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口,从而实现将所述视频内容的播放模式由普通视频播放模式转换为VR视频播放模式。
其中,所述检测页面中是否存在视频内容的步骤包括:
检测浏览器页面的HTML文件中的标签,判断所述HTML文件中是否存在包含视频播放内容的第一视频标签。
其中,所述在该页面中插入一转换按钮的方式包括:
在所述HTML文件中插入一转换按钮显示标签,将所述转换按钮显示标签对应的转换按钮渲染至所述页面上;或
执行一转换按钮显示脚本,在所述页面上显示一浮动的转换按钮。
其中,所述将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口的步骤包括:
在所述浏览器页面的HTML文件中插入与所述第一视频标签内容相同的第二视频标签;
调整所述HTML文件的显示结构,将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
其中,将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示的步骤包括:
将屏幕显示方式调整为横屏显示,并将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
其中,所述处理器执行该软件程序时还实现以下步骤:
接收用户启动视频播放的请求,将所述第一视频标签及所述第二视频标签对应的视频内容进行同步播放。
其中,所述将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口的方式包括:
向第三方服务器发送一获取视频转化脚本的请求,并执行接收到的所述视频转换脚本,将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口。
由于所述处理器执行该软件程序时实现的步骤与上述视频播放模式转换方法的相应步骤相同,上面对视频播放模式转换方法的详细描述内容都可以在这里使用,因此不再重复描述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。由此,本发明还提供一种存储装置,其中存储有多条指令,所述指令适于由处理器加载并执行上面所述实施例描述的视频播放模式转换方法或其与优先实施例的组合描述的视频播放模式转换方法。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设 备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (25)

  1. 一种视频播放模式转换方法,其特征在于,所述方法包括:
    检测浏览器页面中是否存在视频内容;
    当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮;
    当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。
  2. 根据权利要求1所述的方法,其特征在于,所述VR视频播放模式为适用于VR眼镜观看的视频播放模式;所述将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换的步骤包括:
    将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口,从而实现将所述视频内容的播放模式由普通视频播放模式转换为VR视频播放模式。
  3. 根据权利要求2所述的方法,其特征在于,所述检测浏览器页面中是否存在视频内容的步骤包括:
    检测浏览器页面的HTML文件中的标签,判断所述HTML文件中是否存在包含视频播放内容的第一视频标签。
  4. 根据权利要求3所述的方法,其特征在于,所述在该页面中插入一转换按钮的方式包括:
    在所述HTML文件中插入一转换按钮显示标签,将所述转换按钮显示标签对应的转换按钮渲染至所述页面上;或
    执行一转换按钮显示脚本,在所述页面上显示一浮动的转换按钮。
  5. 根据权利要求3所述的方法,其特征在于,所述将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口的步骤包括:
    在所述浏览器页面的HTML文件中插入与所述第一视频标签内容相同的第二视频标签;
    调整所述HTML文件的显示结构,将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
  6. 根据权利要求5所述的方法,其特征在于,将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示的步骤包括:
    将屏幕显示方式调整为横屏显示,并将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    接收用户启动视频播放的请求,将所述第一视频标签及所述第二视频标签对应的视频内容进行同步播放。
  8. 根据权利要求2所述的方法,其特征在于,所述将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口的方式包括:
    向第三方服务器发送一获取视频转化脚本的请求,并执行接收到的所述视频转换脚本,将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口。
  9. 一种视频播放模式转换装置,其特征在于,所述装置包括:
    视频内容检测模块,用于检测浏览器页面中是否存在视频内容;
    转换按钮插入模块,用于当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮;
    转换模块,用于当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。
  10. 根据权利要求9所述的装置,其特征在于,所述VR视频播放模式为适用于VR眼镜观看的视频播放模式;所述转换模块将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换的方式包括:
    将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口,从而实现将所述视频内容的播放模式由普通视频播放模式转换为VR视频播放模式。
  11. 根据权利要求10所述的装置,其特征在于,所述视频内容检测模块检测页面中是否存在视频内容的方式包括:
    检测浏览器页面的HTML文件中的标签,判断所述HTML文件中是否存在包含视频播放内容的第一视频标签。
  12. 根据权利要求11所述的装置,其特征在于,所述转换按钮插入模块插入一转换按钮的方式包括:
    在所述HTML文件中插入一转换按钮显示标签,将所述转换按钮显示标签对应的转换按钮渲染至所述页面上;或
    执行一转换按钮显示脚本,在所述页面上显示一浮动的转换按钮。
  13. 根据权利要求11所述的装置,其特征在于,所述转换模块包括:
    视频标签插入子模块,用于在所述浏览器页面的HTML文件中插入与所述第一视频标签内容相同的第二视频标签;
    视频窗口调整子模块,用于调整所述HTML文件的显示结构,将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
  14. 根据权利要求13所述的装置,其特征在于,所述视频窗口调整子模块将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示的方式包括:
    将屏幕显示方式调整为横屏显示,并将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
  15. 根据权利要求14所述的装置,其特征在于,所述装置还包括:
    视频播放模块,用于接收用户启动视频播放的请求,将所述第一视频标签及所述第二视频标签对应的视频内容进行同步播放。
  16. 根据权利要求10所述的装置,其特征在于,所述转换模块将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口的方式包括:
    向第三方服务器发送一获取视频转化脚本的请求,并执行接收到的所述视频转换脚本,将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口。
  17. 一种终端设备,其特征在于,所述终端设备包括:
    存储器;
    处理器;及
    用于视频播放模式转换的软件程序,该软件程序保存在所述存储器中并且可在处理器上运行,当所述处理器执行该软件程序时实现以下步骤:
    检测浏览器页面中是否存在视频内容;
    当浏览器页面中存在需要播放的视频内容时,在该页面中插入一转换按钮;
    当侦测到用户对所述转换按钮的操作时,将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换。
  18. 根据权利要求17所述的终端设备,其特征在于,所述VR视频播放模式为适用于VR眼镜观看的视频播放模式;所述将所述视频内容的播放模式在普通视频播放模式和VR视频播放模式之间进行转换的步骤包括:
    将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口,从而实 现将所述视频内容的播放模式由普通视频播放模式转换为VR视频播放模式。
  19. 根据权利要求18所述的终端设备,其特征在于,所述检测页面中是否存在视频内容的步骤包括:
    检测浏览器页面的HTML文件中的标签,判断所述HTML文件中是否存在包含视频播放内容的第一视频标签。
  20. 根据权利要求19所述的终端设备,其特征在于,所述在该页面中插入一转换按钮的方式包括:
    在所述HTML文件中插入一转换按钮显示标签,将所述转换按钮显示标签对应的转换按钮渲染至所述页面上;或
    执行一转换按钮显示脚本,在所述页面上显示一浮动的转换按钮。
  21. 根据权利要求19所述的终端设备,其特征在于,所述将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口的步骤包括:
    在所述浏览器页面的HTML文件中插入与所述第一视频标签内容相同的第二视频标签;
    调整所述HTML文件的显示结构,将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
  22. 根据权利要求21所述的终端设备,其特征在于,将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示的步骤包括:
    将屏幕显示方式调整为横屏显示,并将所述第一视频标签及所述第二视频标签对应的视频窗口横向并排显示。
  23. 根据权利要求22所述的终端设备,其特征在于,所述处理器执行该软件程序时还实现以下步骤:
    接收用户启动视频播放的请求,将所述第一视频标签及所述第二视频标签对应的视频内容进行同步播放。
  24. 根据权利要求18所述的终端设备,其特征在于,所述将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口的方式包括:
    向第三方服务器发送一获取视频转化脚本的请求,并执行接收到的所述视频转换脚本,将所述普通视频播放模式下的播放窗口调整为两个横向并排的播放窗口。
  25. 一种存储装置,其中存储有多条指令,所述指令适于由处理器加载并执行权 利要求1-8之一所述的方法。
PCT/CN2017/114542 2016-12-15 2017-12-05 视频播放模式转换方法、装置及移动终端 WO2018107997A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/441,986 US10841530B2 (en) 2016-12-15 2019-06-14 Method, device, and mobile terminal for converting video playing mode

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611158785.0 2016-12-15
CN201611158785.0A CN108235143B (zh) 2016-12-15 2016-12-15 视频播放模式转换方法、装置及移动终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/441,986 Continuation US10841530B2 (en) 2016-12-15 2019-06-14 Method, device, and mobile terminal for converting video playing mode

Publications (1)

Publication Number Publication Date
WO2018107997A1 true WO2018107997A1 (zh) 2018-06-21

Family

ID=62559760

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/114542 WO2018107997A1 (zh) 2016-12-15 2017-12-05 视频播放模式转换方法、装置及移动终端

Country Status (3)

Country Link
US (1) US10841530B2 (zh)
CN (1) CN108235143B (zh)
WO (1) WO2018107997A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367549A (zh) * 2020-11-10 2021-02-12 四川长虹电器股份有限公司 电视浏览器的视频播放实现方法及浏览器应用运行方法
CN113891136A (zh) * 2021-09-18 2022-01-04 深圳Tcl新技术有限公司 一种视频播放方法、装置、电子设备和存储介质
US20220377313A1 (en) * 2019-10-28 2022-11-24 Sony Group Corporation Information processing apparatus, information processing method, and program

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108235143B (zh) * 2016-12-15 2020-07-07 广州市动景计算机科技有限公司 视频播放模式转换方法、装置及移动终端
CN109547838B (zh) * 2018-12-06 2021-06-01 青岛海信传媒网络技术有限公司 视频窗口的处理方法及装置
CN109819332B (zh) * 2019-01-22 2021-06-15 重庆爱奇艺智能科技有限公司 一种用于提高获取节目数据性能的方法和装置
CN113110234B (zh) * 2021-05-11 2023-03-31 武汉灏存科技有限公司 联动控制系统及方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110285821A1 (en) * 2010-05-18 2011-11-24 Kabushiki Kaisha Toshiba Information processing apparatus and video content playback method
CN103338384A (zh) * 2013-05-31 2013-10-02 优视科技有限公司 一种视频播放方法及装置
CN104837005A (zh) * 2014-02-11 2015-08-12 深圳市云帆世纪科技有限公司 一种2d视频与3d视频转换播放的方法及其装置
CN105611280A (zh) * 2015-12-31 2016-05-25 北京奇艺世纪科技有限公司 一种基于android系统的VR视频编辑方法和系统
CN105898337A (zh) * 2015-11-18 2016-08-24 乐视网信息技术(北京)股份有限公司 全景视频的显示方法和装置

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010019337A1 (en) * 2000-03-03 2001-09-06 Jong Min Kim System for providing clients with a three dimensional virtual reality
US20040125143A1 (en) 2002-07-22 2004-07-01 Kenneth Deaton Display system and method for displaying a multi-dimensional file visualizer and chooser
US7467356B2 (en) 2003-07-25 2008-12-16 Three-B International Limited Graphical user interface for 3d virtual display browser using virtual display windows
EP2381423A1 (en) 2010-03-26 2011-10-26 Alcatel Lucent Method for transforming web from 2d into 3d
KR101028342B1 (ko) 2011-01-20 2011-04-11 (주)디지탈아리아 2차원 플래시 애니메이션을 입체 3차원 플래시 애니메이션으로 변환하는 방법
CN201967061U (zh) 2011-02-11 2011-09-07 深圳市九洲电器有限公司 一种可将二维视频转三维视频的机顶盒
CN102521862B (zh) 2011-11-30 2014-12-24 青岛展易网科技有限公司 将木门2d平面图片转换为3d模型的在线展示方法
US9773338B2 (en) 2012-06-08 2017-09-26 Lg Electronics Inc. Rendering method of 3D web-page and terminal using the same
CN102937968B (zh) 2012-10-11 2015-10-14 上海交通大学 一种基于Canvas的双目3D网页实现方法及系统
US20150123966A1 (en) 2013-10-03 2015-05-07 Compedia - Software And Hardware Development Limited Interactive augmented virtual reality and perceptual computing platform
US9036083B1 (en) * 2014-05-28 2015-05-19 Gracenote, Inc. Text detection in video
KR102310130B1 (ko) * 2014-09-01 2021-10-08 삼성전자주식회사 착용 가능한 전자 장치
KR102194787B1 (ko) * 2014-09-24 2020-12-24 삼성전자주식회사 사용자 기반 센서 정보 획득 방법 및 그 전자 장치
CN205485921U (zh) * 2016-01-28 2016-08-17 深圳云院线科技有限公司 控制盒和虚拟现实装置
CN105930120A (zh) * 2016-04-20 2016-09-07 厦门市妮东科技有限公司 基于手机端vr模式和普通模式之间切换的方法
CN205562965U (zh) * 2016-04-26 2016-09-07 上海与德通讯技术有限公司 一种虚拟现实装置
CN106101503A (zh) * 2016-07-18 2016-11-09 优势拓展(北京)科技有限公司 实时全景直播网络摄像机和系统及方法
US20180160194A1 (en) * 2016-12-01 2018-06-07 Google Inc. Methods, systems, and media for enhancing two-dimensional video content items with spherical video content
CN108235143B (zh) * 2016-12-15 2020-07-07 广州市动景计算机科技有限公司 视频播放模式转换方法、装置及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110285821A1 (en) * 2010-05-18 2011-11-24 Kabushiki Kaisha Toshiba Information processing apparatus and video content playback method
CN103338384A (zh) * 2013-05-31 2013-10-02 优视科技有限公司 一种视频播放方法及装置
CN104837005A (zh) * 2014-02-11 2015-08-12 深圳市云帆世纪科技有限公司 一种2d视频与3d视频转换播放的方法及其装置
CN105898337A (zh) * 2015-11-18 2016-08-24 乐视网信息技术(北京)股份有限公司 全景视频的显示方法和装置
CN105611280A (zh) * 2015-12-31 2016-05-25 北京奇艺世纪科技有限公司 一种基于android系统的VR视频编辑方法和系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220377313A1 (en) * 2019-10-28 2022-11-24 Sony Group Corporation Information processing apparatus, information processing method, and program
US11770517B2 (en) * 2019-10-28 2023-09-26 Sony Group Corporation Information processing apparatus and information processing method
CN112367549A (zh) * 2020-11-10 2021-02-12 四川长虹电器股份有限公司 电视浏览器的视频播放实现方法及浏览器应用运行方法
CN112367549B (zh) * 2020-11-10 2021-08-06 四川长虹电器股份有限公司 电视浏览器的视频播放实现方法及浏览器应用运行方法
CN113891136A (zh) * 2021-09-18 2022-01-04 深圳Tcl新技术有限公司 一种视频播放方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
US20190297300A1 (en) 2019-09-26
CN108235143B (zh) 2020-07-07
CN108235143A (zh) 2018-06-29
US10841530B2 (en) 2020-11-17

Similar Documents

Publication Publication Date Title
WO2018107997A1 (zh) 视频播放模式转换方法、装置及移动终端
US9412341B2 (en) Information processing method and electronic device
US9645784B2 (en) Screen splicing system and video data stream processing method
US10303341B2 (en) Modifying screen content based on gaze tracking and user distance from the screen
US10728613B2 (en) Method and apparatus for content insertion during video playback, and storage medium
EP3011716B1 (en) Method, apparatus and computer-readable medium for media content streaming device setup
CN105573694B (zh) 数字内容的多个显示渲染
US20130141471A1 (en) Obscuring graphical output on remote displays
US20190026592A1 (en) Indication of characteristic based on condition
US20220405466A1 (en) Image annotation process
US20120011468A1 (en) Information processing apparatus and method of controlling a display position of a user interface element
US20160329030A1 (en) Display apparatus constituting multi display system and control method thereof
CN111741274A (zh) 一种支持画面局部放大和漫游的超高清视频监看方法
EP2797331A1 (en) Display apparatus for providing recommendation information and method thereof
US11556605B2 (en) Search method, device and storage medium
GB2594214A (en) Image display method and apparatus
US20240005625A1 (en) Image processing method and apparatus, electronic device and storage medium
CN110609653B (zh) 双系统设备及其书写方法、装置和交互智能平板
JP2015114798A (ja) 情報処理装置および情報処理方法、プログラム
CN110709834B (zh) 用于检索与链接相关联的内容的方法、系统和介质
WO2016127525A1 (zh) 终端屏幕显示方法、装置及计算机存储介质
US20110285821A1 (en) Information processing apparatus and video content playback method
WO2023098576A1 (zh) 图像处理方法、装置、设备及介质
US20140075569A1 (en) Display apparatus and display program
US11294978B2 (en) Remedial actions for impermissible social media content

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17879705

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17879705

Country of ref document: EP

Kind code of ref document: A1