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">
jwplayer("mediaplayer").setup({
//flashplayer: "http://council.cl/elearning/excel_basico_2010/jwplayer/jwplayer.flash.swf",

image: "http://council.cl/elearning/excel_basico_2010/videos/<?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: "http://council.cl/elearning/excel_basico_2010/videos/<?php echo $id?>.mp4"
});

</script>


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

http://council.cl/elearning/excel_basico_2010/index.php?id=cnleb001


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

ignacio.pulgar.lahsen

User  
0 rated :

I forgot to mention that I am using JW Player 6.8

ignacio.pulgar.lahsen

User  
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.

Andrew

JW Player Support Agent  
0 rated :

Hi,

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.