Method and Device for Playing Media File While Switching Resolution in Webpage and Storage Medium
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorGuohui YIN
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorGuohui YIN
Estimating the term…
The disclosure relates to a method and a device for playing a media file while switching resolution in a webpage and a storage medium, the method includes: receiving a resolution switching event when the player embedded in the webpage plays the original resolution media file; requesting media data in the target resolution media file to be switched to in response to the resolution switching event; wherein the original resolution media file and the target resolution media file adopt a non-streaming media packaging format; constructing a fragmented media file for independent decoding on the basis of the requested media data; sending the fragmented media file to a media element of the webpage through a media source expansion interface of the webpage. The fragmented media file is used for playing the media element in succession with the playing point where the resolution switching event occurs.
A method for playing a media file while switching resolution in a webpage, comprising:
A device for playing a media file while switching resolution in a webpage, wherein the device comprises:
A storage medium, wherein an executable instruction is stored, and when the executable instruction is executed, the storage medium performing operations comprising:
Dependencies are inferred from the claim text.