Universe exhibition hall video playing method, device, equipment, medium and product

By determining the video stream links and rendering objects, modifying the video tags, and combining web-embedded video players and 3D rendering technology, live video streaming in the Metaverse exhibition hall was achieved, enhancing interactivity and VR display capabilities.

CN120935404APending Publication Date: 2025-11-11INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511206759.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-27
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Existing technologies cannot achieve live playback of m3u8 video streams in the Metaverse exhibition hall. Furthermore, the traditional video playback method is disconnected from the canvas technology of the Metaverse exhibition hall, resulting in unfriendly rotation and making it impossible to display live video in VR.

Method used

By responding to the configuration operations of the video stream, the video stream link and rendering object of the target video are determined, an initial video tag is created for the video stream link, and the initial video tag is modified based on the web embedded video player component library to obtain the target video tag. The video stream is then rendered using 3D rendering technology.

Benefits of technology

It enables live video streaming within the Metaverse exhibition hall, enhancing the interactiveness of the exhibition hall, resolving the disconnect between video playback and canvas technology, and supporting live video viewing in VR.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935404A_ABST
    Figure CN120935404A_ABST
Patent Text Reader

Abstract

The invention discloses a universe exhibition hall video playing method, device and equipment, a medium and a product, relates to the technical field of universe and video processing, and can be applied to the field of financial science and technology. The method comprises the following steps: in response to a configuration operation of a video stream, determining a video stream link and a rendering object of a target video; creating an initial video tag for the video stream link, and obtaining a target inline parameter in response to a configuration operation of an inline playing parameter; transforming the initial video tag based on a webpage embedded video player component library to obtain a target video tag; and carrying out video stream rendering according to the video stream link, the rendering object and the target video tag so as to play the target video in the meta universe exhibition hall. According to the technical scheme, the video can be played in the universe exhibition hall.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of metaverse and video processing technology, and can be used in the field of financial technology. In particular, it relates to a method, apparatus, equipment, medium and product for playing video in a metaverse exhibition hall. Background Technology

[0002] In some 3D engines, the underlying video component uses... <video>Tags, and simply <video>The current method cannot meet the requirements for playing m3u8 video streams, making live streaming impossible within the Metaverse Exhibition Hall. Traditional video stream playback is based on video.js, achieved by adding a video.js tag to the canvas of the web-published Metaverse Exhibition Hall page. The problem with this approach is that the DOM-based video playback technology and the Metaverse Exhibition Hall's canvas technology are somewhat disconnected, requiring independent maintenance of the video playback. <video>Using CSS styles for positioning and scaling tags is extremely inefficient when dealing with rotation; furthermore, because DOM elements cannot be displayed in WebXR, it's impossible to watch live m3u8 videos in a VR exhibition hall; only regular MP4 videos can be viewed using LayaAir's video components. Therefore, there is an urgent need for an efficient video streaming method for the metaverse exhibition hall. Summary of the Invention

[0003] This invention provides a method, apparatus, device, medium, and product for playing video in a metaverse exhibition hall, so as to realize live video streaming in a metaverse exhibition hall.

[0004] According to one aspect of the present invention, a method for playing videos in a metaverse exhibition hall is provided, comprising:

[0005] In response to configuration operations on the video stream, determine the video stream link and rendering object for the target video;

[0006] An initial video tag is created for the video stream link, and the target inline parameters are obtained in response to the configuration operation of the inline playback parameters;

[0007] The initial video tags are modified based on the webpage embedded video player component library to obtain the target video tags;

[0008] The video stream is rendered based on the video stream link, the rendering object, and the target video tag to play the target video in the Metaverse Gallery.

[0009] According to another aspect of the present invention, a metaverse exhibition hall video playback device is provided, comprising:

[0010] The video stream configuration module is used to respond to video stream configuration operations and determine the video stream link and rendering object of the target video.

[0011] The target inline parameter determination module is used to create initial video tags for the video stream link and obtain target inline parameters in response to the configuration operation of inline playback parameters;

[0012] The target video tag determination module is used to modify the initial video tags based on the webpage embedded video player component library to obtain target video tags;

[0013] The video stream rendering module is used to render the video stream based on the video stream link, the rendering object, and the target video tag, so as to play the target video in the Metaverse Exhibition Hall.

[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0015] At least one processor; and

[0016] A memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the metaverse exhibition hall video playback method according to any embodiment of the present invention.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a processor to execute and implement the metaverse exhibition hall video playback method according to any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer program product is provided, the computer program product comprising a computer program that, when executed by a processor, implements the metaverse exhibition hall video playback method according to any embodiment of the present invention.

[0020] The technical solution of this invention determines the video stream link and rendering object of the target video in response to the configuration operation of the video stream; creates an initial video tag for the video stream link, and obtains the target inline parameters in response to the configuration operation of the inline playback parameters; modifies the initial video tag based on the web-embedded video player component library to obtain the target video tag; and renders the video stream according to the video stream link, rendering object, and target video tag to play the target video in the Metaverse Exhibition Hall. This technical solution, by combining the web-embedded video player component library and 3D rendering technology, enables live video streaming in the Metaverse Exhibition Hall, improving the interactivity of the Metaverse Exhibition Hall.

[0021] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0023] Figure 1 This is a flowchart of a method for playing videos in a metaverse exhibition hall according to an embodiment of the present invention;

[0024] Figure 2 This is a flowchart of a method for playing videos in a metaverse exhibition hall according to an embodiment of the present invention;

[0025] Figure 3 This is a schematic diagram of the structure of a metaverse exhibition hall video playback device provided according to an embodiment of the present invention;

[0026] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the Metaverse Exhibition Hall video playback method according to an embodiment of the present invention. Detailed Implementation

[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0029] Furthermore, it should be noted that the information collected in the technical solution of this invention is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of related data all comply with the relevant laws, regulations and standards of relevant countries and regions, necessary confidentiality measures have been taken, and public order and good morals are not violated. Corresponding operation entry points are provided for users to choose to authorize or refuse.

[0030] Figure 1 This is a flowchart illustrating a method for playing video in a metaverse exhibition hall according to an embodiment of the present invention. This embodiment is applicable to situations involving the display of financial products in a financial product demonstration scenario. The method can be executed by a metaverse exhibition hall video playback device, which can be implemented in hardware and / or software. This device can be configured in an electronic device that carries the metaverse exhibition hall video playback function, such as a mobile terminal or a PC. Figure 1 As shown, the method includes:

[0031] S110, In response to the configuration operation of the video stream, determine the video stream link and rendering object of the target video.

[0032] In this embodiment, the target video refers to a promotional or introductory video for a financial product. The video stream link refers to the source video link of the target video. The rendering object refers to the virtual object corresponding to the target video in the Metaverse Exhibition Hall.

[0033] An alternative approach provides a visual configuration interface that, in response to configuration operations on the video stream, determines the video stream link and rendering object of the target video, including: in response to configuration operations on the video stream, determining and saving the video stream link; determining the rendering object, and judging the object type of the rendering object.

[0034] Specifically, a visual interface is provided where users can configure the video stream connection and rendering object of the target video; in response to the user's configuration operation on the target video in the visual configuration interface, the video stream connection and rendering object of the target video are obtained.

[0035] Understandably, a visual configuration interface allows for quick adjustments to relevant information about the target video, reducing the time required for encoding.

[0036] S120. Create an initial video tag for the video stream link and obtain the target inline parameters in response to the configuration operation of the inline playback parameters.

[0037] In this embodiment, inline playback refers to the video playing alongside other content on the page. Inline playback parameters include playback modes such as `playsinline`, and browser playback attributes such as `x5-playsinline`, `webkit-playsinline`, and `t7-video-player-type`. Target inline parameters refer to the video parameters of the target video when played in the Metaverse Exhibition Hall.

[0038] Specifically, create initial video tags for video stream links, such as... <video>The tag, through a visual configuration interface, responds to inline playback parameter configuration operations, obtains the target inline parameters, and configures the target video to be muted. In essence, by configuring inline playback parameters, the target video can be played inline across different browsers, preventing the video stream link from being hijacked by browsers.

[0039] S130. Modify the initial video tags based on the webpage embedded video player component library to obtain the target video tags.

[0040] In this embodiment, the target video tag refers to the video tag that has been modified from the initial video tag.

[0041] An alternative approach involves modifying the initial video tags based on a webpage-embedded video player component library to obtain the target video tags. This includes modifying the format of the initial video tags based on the webpage-embedded video player component library and setting hidden tags to obtain the target video tags.

[0042] Specifically, the format of the initial video tag is modified based on the web-embedded video player component library, for example, by changing the format of the video tag. <video>The class name of the tag is set to video-js; a hidden tag is also set to obtain the target video tag. The hidden tag is used to hide the rendered content of the target video, because the final video will not be displayed through the video tag; instead, the rendered content of the video tag will be extracted and displayed.

[0043] Understandably, by modifying the initial video tag through a webpage embedded video player component, video streaming, or live streaming, can be achieved within a 3D engine.

[0044] S140. Render the video stream based on the video stream link, the rendering object, and the target video tag to play the target video in the Metaverse Gallery.

[0045] Specifically, based on the set rendering method, the video stream is rendered according to the video stream link, the rendering object, and the target video tag in order to play the target video in the Metaverse exhibition hall.

[0046] The technical solution of this invention determines the video stream link and rendering object of the target video in response to the configuration operation of the video stream; creates an initial video tag for the video stream link, and obtains the target inline parameters in response to the configuration operation of the inline playback parameters; modifies the initial video tag based on the web-embedded video player component library to obtain the target video tag; and renders the video stream according to the video stream link, rendering object, and target video tag to play the target video in the Metaverse Exhibition Hall. This technical solution, by combining the web-embedded video player component library and 3D rendering technology, enables live video streaming in the Metaverse Exhibition Hall, improving the interactivity of the Metaverse Exhibition Hall.

[0047] Figure 2 This is a flowchart of a video playback method for a metaverse exhibition hall according to an embodiment of the present invention. Based on the above embodiments, this embodiment further optimizes the "video stream rendering based on video stream links, rendering objects, and target video tags," providing an optional implementation scheme. For example... Figure 2 As shown, the method includes:

[0048] S210, In response to the configuration operation of the video stream, determine the video stream link and rendering object of the target video.

[0049] S220. Create an initial video tag for the video stream link and obtain the target inline parameters in response to the configuration operation of the inline playback parameters.

[0050] S230. Modify the initial video tags based on the webpage embedded video player component library to obtain the target video tags.

[0051] S240. Render the video stream based on the video stream link, the rendering object, and the target video tag to play the target video in the Metaverse Gallery.

[0052] An alternative approach, in response to the configuration operation of inline playback parameters, after obtaining the target inline parameters, further includes: initializing the rendering texture based on the metadata of the media file of the target video; and setting the initialized rendering texture.

[0053] Specifically, a video metadata loading event is added. Through the embedded rendering method in the 3D engine, the rendering texture is initialized based on the metadata of the target video's media file, and the initialized rendering texture is then configured.

[0054] Understandably, initializing and setting the rendered textures facilitates the subsequent streaming of the target video in the Metaverse exhibition hall.

[0055] An alternative approach to video stream rendering based on a video stream link, a rendering object, and a target video tag includes: obtaining a real-time texture of the target video based on the video stream link and the target video tag; rendering the real-time texture onto the rendering object based on the object type of the rendering object; and updating the real-time texture through a frame loop to achieve video stream rendering.

[0056] Specifically, based on the video texture update method built into the 3D engine, the real-time texture of the target video is obtained according to the video stream link and the target video tag. Then, based on the texture rendering method corresponding to the object type of the rendering object, the real-time texture is rendered onto the rendering object. Then, the real-time texture is updated through frame loop to realize video stream rendering.

[0057] Understandably, users can see the corresponding live video stream content on the UI or 3D model through the above methods. At the same time, because it is based on rendering rather than DOM, the live video stream effect can also be seen in VR.

[0058] For example, rendering a real-time texture onto a rendering object based on its object type includes: if the object type of the rendering object is a UI component, determining the corresponding 2D sprite and rendering the real-time texture onto the texture of the 2D sprite; if the object type of the rendering object is a 3D model, determining the corresponding 3D model, creating a material for the 3D model, and rendering the real-time texture onto the material.

[0059] Specifically, if the object being rendered is a UI component, such as an Image component, then the real-time texture is rendered onto the texture of the corresponding 2D sprite using the video rendering method in the 3D engine. If the object being rendered is a 3D model, then a 3D model is created for the target video in the Metaverse Gallery using the video rendering method in the 3D engine, a material is created for this 3D model, and the real-time texture is rendered onto the material.

[0060] Understandably, rendering different objects differently can improve the video's performance when played in the Metaverse exhibition hall.

[0061] The technical solution of this invention determines the video stream link and rendering object of the target video in response to the configuration operation of the video stream; creates an initial video tag for the video stream link, and obtains the target inline parameters in response to the configuration operation of the inline playback parameters; modifies the initial video tag based on the web-embedded video player component library to obtain the target video tag; and renders the video stream according to the video stream link, rendering object, and target video tag to play the target video in the Metaverse Exhibition Hall. This technical solution, by combining the web-embedded video player component library and 3D rendering technology, enables live video streaming in the Metaverse Exhibition Hall, improving the interactivity of the Metaverse Exhibition Hall.

[0062] Figure 3 This is a schematic diagram of a metaverse exhibition hall video playback device according to an embodiment of the present invention. This embodiment is applicable to situations involving the display of financial products. The metaverse exhibition hall video playback device can be implemented in hardware and / or software, and can be configured in an electronic device that carries the metaverse exhibition hall video playback function, such as a mobile terminal or a PC. Figure 3 As shown, the device includes:

[0063] The video stream configuration module 310 is used to determine the video stream link and rendering object of the target video in response to the configuration operation of the video stream;

[0064] The target inline parameter determination module 320 is used to create initial video tags for video stream links and obtain target inline parameters in response to inline playback parameter configuration operations;

[0065] The target video tag determination module 330 is used to modify the initial video tags based on the webpage embedded video player component library to obtain the target video tags;

[0066] The video stream rendering module 340 is used to render the video stream based on the video stream link, the rendering object, and the target video tag in order to play the target video in the Metaverse Exhibition Hall.

[0067] The technical solution of this invention determines the video stream link and rendering object of the target video in response to the configuration operation of the video stream; creates an initial video tag for the video stream link, and obtains the target inline parameters in response to the configuration operation of the inline playback parameters; modifies the initial video tag based on the web-embedded video player component library to obtain the target video tag; and renders the video stream according to the video stream link, rendering object, and target video tag to play the target video in the Metaverse Exhibition Hall. This technical solution, by combining the web-embedded video player component library and 3D rendering technology, enables live video streaming in the Metaverse Exhibition Hall, improving the interactivity of the Metaverse Exhibition Hall.

[0068] Optionally, the video stream configuration module 310 is used for:

[0069] In response to configuration operations on the video stream, determine and save the video stream link;

[0070] Determine the object to be rendered and determine its object type.

[0071] Optionally, the device also includes a texture setting module for:

[0072] In response to the configuration operation of inline playback parameters, after obtaining the target inline parameters, the rendering texture is initialized according to the metadata of the target video's media file;

[0073] Configure the initial rendering texture.

[0074] Optionally, the target video tag determination module 330 is used for:

[0075] The target video tags are obtained by modifying the format of the initial video tags and setting hidden tags based on the web-embedded video player component library.

[0076] Optionally, the video stream rendering module 340 is used for:

[0077] Based on the video stream link and the target video tag, obtain the real-time texture of the target video;

[0078] Based on the object type of the rendering object, render the real-time texture onto the rendering object;

[0079] Video stream rendering is achieved by updating real-time textures through frame loops.

[0080] Optionally, the video stream rendering module 340 is specifically used for:

[0081] If the object type of the rendered object is a UI component, then determine the corresponding 2D sprite of the rendered object and render the real-time texture onto the texture of the 2D sprite;

[0082] If the object being rendered is a 3D model of an object type, then determine the corresponding 3D model for the object being rendered, create a material for the 3D model, and render the real-time texture onto the material.

[0083] The metaverse exhibition hall video playback device provided in this embodiment of the invention can execute the metaverse exhibition hall video playback method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0084] According to embodiments of the present invention, the present invention also provides an electronic device, a readable storage medium, and a computer program product.

[0085] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the Metaverse Exhibition Hall video playback method according to an embodiment of the present invention. Figure 4 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0086] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0087] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0088] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the metaverse exhibition hall video playback method.

[0089] In some embodiments, the metaverse exhibition hall video playback method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the metaverse exhibition hall video playback method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to execute the metaverse exhibition hall video playback method by any other suitable means (e.g., by means of firmware).

[0090] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0091] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0092] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0093] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0094] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0095] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product within the cloud computing service system to address the shortcomings of traditional physical hosts and virtual private servers, such as high management difficulty and weak business scalability.

[0096] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0097] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.< / video> < / video> < / video> < / video> < / video>

Claims

1. A method for playing videos in a metaverse exhibition hall, characterized in that, include: In response to configuration operations on the video stream, determine the video stream link and rendering object for the target video; An initial video tag is created for the video stream link, and the target inline parameters are obtained in response to the configuration operation of the inline playback parameters; The initial video tags are modified based on the webpage embedded video player component library to obtain the target video tags; The video stream is rendered based on the video stream link, the rendering object, and the target video tag to play the target video in the Metaverse Gallery.

2. The method according to claim 1, characterized in that, In response to configuration operations on the video stream, determine the video stream link and rendering object, including: In response to configuration operations on the video stream, determine and save the video stream link; Determine the rendering object and determine the object type of the rendering object.

3. The method according to claim 1, characterized in that, In response to the configuration operation of inline playback parameters, after obtaining the target inline parameters, the following is also included: The rendering texture is initialized based on the metadata of the media file of the target video; Configure the initial rendering texture.

4. The method according to claim 1, characterized in that, The initial video tags are modified based on a webpage embedded video player component library to obtain target video tags, including: The initial video tag format is modified based on the web-embedded video player component library, and the hidden tag is set to obtain the target video tag.

5. The method according to claim 1, characterized in that, Video stream rendering is performed based on the video stream link, the rendering object, and the target video tag, including: Based on the video stream link and the target video tag, obtain the real-time texture of the target video; The real-time texture is rendered onto the rendering object according to the object type of the rendering object; The real-time texture is updated by cyclically updating the frames to achieve video stream rendering.

6. The method according to claim 5, characterized in that, Rendering the real-time texture onto the rendering object according to the object type of the rendering object includes: If the object type of the rendering object is a UI component, then the 2D sprite corresponding to the rendering object is determined, and the real-time texture is rendered onto the texture of the 2D sprite; If the object being rendered is a 3D model of the object type, then the 3D model corresponding to the object being rendered is determined, a material is created for the 3D model, and the real-time texture is rendered onto the material.

7. A video playback device for a metaverse exhibition hall, characterized in that, include: The video stream configuration module is used to respond to video stream configuration operations and determine the video stream link and rendering object of the target video. The target inline parameter determination module is used to create initial video tags for the video stream link and obtain target inline parameters in response to the configuration operation of inline playback parameters; The target video tag determination module is used to modify the initial video tags based on the webpage embedded video player component library to obtain target video tags; The video stream rendering module is used to render the video stream based on the video stream link, the rendering object, and the target video tag, so as to play the target video in the Metaverse Exhibition Hall.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the metaverse exhibition hall video playback method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the metaverse exhibition hall video playback method according to any one of claims 1-6.

10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the Metaverse Exhibition Hall video playback method according to any one of claims 1-6.