Back to results
US 10,540,074 B2Granted
Method and terminal for playing media
AssigneeHuawei Technologies Co., Ltd.
InventorJie Xu
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a method for playing media, including: enabling a function of setting a quantity of play times; detecting an input command of a user, and determining a quantity of play times of media according to the input command; and playing the media according to the quantity of play times. The embodiments of the present disclosure further provide a terminal for playing media.
Claims20
A method, comprising:
- playing an audio file or a video file in response to a second selection operation performed by a user on a pause/play button of a media play application displayed on a touch display screen of a terminal, the audio file or the video file is displayed as currently being played by the terminal in response to the second selection operation, the second selection operation comprises touching the pause/play button;
- detecting that a duration of a first selection operation performed by a user on the pause/play button of the media play application displayed on the touch display screen of the terminal reaches a first preset duration when the audio file or the video file is displayed as currently being played by the terminal, the first selection operation comprises holding the pause/play button, the duration of the first selection operation is a length of time the user holds the pause/play button during the first selection operation, and in response to the detecting that the duration of the first selection operation performed by the user on the pause/play button of the media play application displayed on the touch display screen of the terminal reaches the first preset duration, enabling a function of setting a quantity of play times of the audio file or the video file that is displayed as currently being played by the terminal, a duration of the second selection operation is less than the first preset duration;
- continuously detecting the first selection operation performed by the user on the pause/play button of the media play application displayed on the touch display screen of the terminal, and determining the quantity of play times of the audio file or the video file that is displayed as currently being played by the terminal according to the duration of the first selection operation;
- and
- playing the audio file or the video file that is displayed as currently being played by the terminal according to the quantity of play times.
2 more elements
A terminal, comprising:
- a processor;
- and
- a non-transitory memory storing instructions that, when executed by the processor, cause the terminal to:
- play an audio file or a video file in response to a second selection operation performed by a user on a pause/play button of a media play application displayed on a touch display screen of a terminal, the audio file or the video file is displayed as currently being played by the terminal in response to the second selection operation, the second selection operation comprises touching the pause/play button;
- detect that a duration of a first selection operation performed by a user on the pause/play button of the media play application displayed on the touch display screen of the terminal reaches a first preset duration when the audio file or the video file is displayed as currently being played by the terminal, the first selection operation comprises holding the pause/play button, the duration of the first selection operation is a length of time the user holds the pause/play button during the first selection operation, and in response to detecting that the duration of the selection operation performed by the user on the pause/play button of the media play application displayed on the touch display screen of the terminal reaches the first preset duration, enabling a function of setting a quantity of play times of the audio file or the video file that is displayed as currently being played by the terminal, a duration of the second selection operation is less than the first preset duration;
- continuously detect the first selection operation performed by the user on the pause/play button of the media play application displayed on the touch display screen of the terminal, and determine the quantity of play times of the audio file or the video file that is displayed as currently being played by the terminal according to the duration of the selection operation;
- and
- play the audio file or the video file that is displayed as currently being played by the terminal according to the quantity of play times.
5 more elements
A non-transitory computer readable storage medium storing instructions that, when executed by one or more processors, cause a terminal to:
- play an audio file or a video file in response to a second selection operation performed by a user on a pause/play button of a media play application displayed on a touch display screen of a terminal, the audio file or the video file is displayed as currently being played by the terminal in response to the second selection operation, the second selection operation comprises touching the pause/play button;
- detect that a duration of a first selection operation performed by a user on the pause/play button of the media play application displayed on the touch display screen of the terminal reaches a first preset duration when the audio file or the video file is displayed as currently being played by the terminal, the first selection operation comprises holding the pause/play button, the duration of the first selection operation is a length of time the user holds the pause/play button during the first selection operation, and in response to detecting that the duration of the first selection operation performed by the user on the pause/play button of the media play application displayed on the touch display screen of the terminal reaches the first preset duration, enabling a function of setting a quantity of play times of the audio file or the video file that is displayed as currently being played by the terminal, a duration of the second selection operation is less than the first preset duration;
- continuously detect the first selection operation performed by the user on the pause/play button of the media play application displayed on the touch display screen of the terminal, and determining the quantity of play times of the audio file or the video file that is displayed as currently being played by the terminal according to the duration of the first selection operation;
- and
- play the audio file or the video file that is displayed as currently being played by the terminal according to the quantity of play times.
2 more elements
Dependencies are inferred from the claim text.