Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Quality Bug


Hi, in my player I take the video from the source to google and do them starting player Jwplyaer.

The problem is that the quality shown by the player is different from the standard 360p, 720p, 1080p

In fact probably my player is set by the length of the height.

the reference code is:

}
$js = $bt = '';
for ($i = 1; $i < count($mp4s); $i++) {
$mp4 = $mp4s[$i];
$js .= '{file: "' .($mp4['url']) . '",label: "' . $mp4['height']. '",type: "mp4",},';
}
return $js;
}

Thanks guys, aspect tips.

3 Community Answers

Todd

JW Player Support Agent  
0 rated :

You have complete control over the label: ‘’ so my suggestion would be to consider $mp4[’height’] and then apply a switch() or some other logic to insert the desired text.

mondoiphone

User  
0 rated :

but as the player will automatically recognize the quality of the label?

Todd

JW Player Support Agent  
0 rated :

We should take whatever you define in the label: ’’ and apply it to the button.

This question has received the maximum number of answers.