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

Black Screen with audio on Android Tablet

Hi guys, im having trouble playing video with JWPlayer in a Android Tablet.

I always get black screen with controls + audio, but in PC works perfect.

This is my code:

<script type='text/javascript' src='jwplayer/jwplayer.js'></script>

<div id="mediaplayer">Cargando el reproductor</div>

<script type="text/javascript">
//flashplayer: "",

image: "<?php echo $id?>.jpg",
primary: "html5",

//Skins Consola
//Colores de consola
/*'backcolor': '000000',
'frontcolor': '999999',
'lightcolor': '999999',
'screencolor': '000000',*/
controlbar: "over",
//'duration': '34',
//'plugins': 'viral-2',
//'viral.oncomplete': "true",
//'fullscreen': 'true',
//'stretching': 'uniform',
'width': '100%',
'height': '100%',
//'width': '480',
//'height': '352',

file: "<?php echo $id?>.mp4"


this link its a live example of the video working on PC:

can anyone help me to solve this problem??, i've been searching a lot but i cant find a solution.

thanks in advance, sorry for my bad english.

3 Community Answers


0 rated :

I forgot to mention that I am using JW Player 6.8


0 rated :

now i know what caused the problem:

the tablet have Android 4.1.1, i tested in another with 4.1.2 and works perfectly!!

thanks anyway.


JW Player Support Agent  
0 rated :


Can you try to not set height to 100% here? We suggest setting width and aspect ratio in responsive players. (width: ‘100%’, aspectratio: ‘16:9’)

This question has received the maximum number of answers.