video not showing in background
-
Hi,
We love your plugin, but it stopped working recently. I checked with my host, WP Engine and this is what they came up with:
During our conversation on the phone, here is the data that was shown in the debug log after loading that page that is supposed to display the video:
[03-Mar-2015 04:00:55] PHP Notice: Undefined index: HTTP_USER_AGENT in /nas/wp/www/cluster-2111/freetowin/wp-content/plugins/wpmbytplayer/mbYTPlayer.php on line 23
[03-Mar-2015 04:01:03] PHP Notice: Undefined index: HTTP_ACCEPT in /nas/wp/www/cluster-2111/freetowin/wp-content/plugins/wpmbytplayer/mbYTPlayer.php on line 20
[03-Mar-2015 04:01:05] PHP Notice: Undefined index: HTTP_USER_AGENT in /nas/wp/www/cluster-2111/freetowin/wp-content/plugins/wpmbytplayer/mbYTPlayer.php on line 23– thanks,
Owen
-
Hi,
Although that should not be the problem as they are “notice” and not “errors”, you can try replacing the “isMobile” function (from line 13 to line 30) with:function isMobile(){ return false; }That way the
$_SERVER["HTTP_ACCEPT"]and$_SERVER["HTTP_USER_AGENT"]are not invoked.Anyway actually in your page no video has been set for the display…
Bye,
Matteoyoutube link is working perfact but if i put mp4 link from my localhost it dosn’t apear. please give some sol’n for that
Thank you.
thanks for the help – we fixed it by adding some code.
Owen
@kruti.trivedi:
The player works only for Youtube videos, not for file self hosted.Bye,
M
The topic ‘video not showing in background’ is closed to new replies.