javascript - Cannot see controls on a MediaElement Player in Flexbox Modal in Android 4.0.4 -


i have problem mediaelement player created within fancybox modal. specific android device running 4.0.4.

on ios devices, new android os, chrome, firefox, , ie down 7, when create new mediaelement player within flexbox modal, able view , interact controls.

but when create on 4.0.4, controls hidden, though can tap on them if correctly guess are. cannot click on video itself, makes playing difficult. , hidden controls problem.

mediaelementjs_settings  =  {                      loop    :  mej_loop,                     pluginpath  :  options.plugin_path,                     ipadusenativecontrols: options.mobile_native_controls,                     iphoneusenativecontrols: options.mobile_native_controls,                     androidusenativecontrols: false,                     alwaysshowcontrols: false,                     error       :  function (mediaelement, domobject) {                         $('<p class="' + options.component_type + '_error_message">' + options.error_msg + '</p>').insertafter($(mediaelement).parent().parent().parent());                         options.component_el.trigger(component_error, options);                     },                     success      :  function( mediaelement, domobject ) {                         var meel = mediaelement;                         options.component_el.trigger(component_initialized, options);                         if(mej_auto_start) {                             // autostart requires short timeout work on several video formats. 100ms                             // hardly noticeable consistency                              window.settimeout(function() {                                 mediaelement.play();                             }, 100);                         }                     },                     pauseotherplayers: false                 };   new mediaelementplayer($(this).find('video:first'), mediaelementjs_settings); 

i've played z-index , other css fixes, stumped. ideas.

i determined issue overlay fancybox somehow obscuring controls. solution set positioning of overlay absolute instead of fixed. have impact on way fancybox worked script inserts video adds , removes class applies appropriate style.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -