Player is a free feature that allows customizing the default player.
Let’s compare the default and custom player. To show you the customization options:
1. Go to the Players tab and click Create a player.
2. Enter the name of your player (it will be displayed in the Gcore Customer Portal) and click Create.
The configuration page opens. Complete the remaining steps in it.
3. Set the custom player as the default one for VOD or/and Live stream if you want to use this player for all videos/streams. You can also choose a custom player for a specific video or stream.
4. Enable necessary video behavior options:
Autoplay. If the option is active, a video starts playing automatically when a user opens the website page with it. This option should be enabled if you want to playback Live imitation automatically.
Mute. If the option is active, video plays with the sound off.
If both Autoplay and Mute options are active, only one option will work. It depends on an end user's browser policy (Mozilla, Chrome).
5. Enable necessary player control options:
6. Select colors for different elements of your player:
7. To collect data on your viewers' actions in the player, activate the Enables Google Analytics option and specify your Google Analytics ID.
8. Add a logo that will be displayed on the screen.
9. Select the logo position.
10. Save changes.
You can make real-time adjustments to the player's functionality by adding the following parameters to the player's URL:
?no_low_latency
?t=(format)
?sub_lang=(language)
Use this parameter to ensure that the player uses non-low-latency streams HLS MPEG T instead of MPEG-DASH CMAF or LL-HLS CMAF. This parameter takes no arguments.
Example: https://player.gvideo.co/broadcasts/2675_21606?no_low_latency
Set time to rewind from the beginning of play. It only applies to video on demand (VOD).
This parameter takes two arguments:
Argument | Description | Example |
---|---|---|
t = (integer) |
Number of seconds to start playing from. | t=15https://player.gvideo.co/videos/2675_zH5vyOfkNqoxzei?t=15
|
t = [(integer)h][(integer)m][(integer)s] |
Set start time point in HMS format, where h = hours, m = minutes, s = seconds. | t=1h30m, 34m, 2m30shttps://player.gvideo.co/videos/2675_zH5vyOfkNqoxzei?t=1m2s
|
Display subtitles in a specific language. This parameter takes the following argument:
Argument | Description | Example |
---|---|---|
sub_lang = (ISO language code, 2 letters) |
Use two letters that correspond to the ISO 639 language codes. | sub_lang=de https://player.gvideo.co/videos/2675_QtN3sYHVPy3KF2n?&sub_lang=de
|
Was this article helpful?
Explore the Streaming Platform by Gcore