Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

flash fallback video black screen - no video, only audio media element

Tags:

I just downloaded mediaelement.js from http://mediaelementjs.com. Looks really good.

Though in the demo files, the videos won't play in IE 8. The player is showing a black screen, but I can hear the audio.

I have also tried installing on a server only to get the same problem. Can anyone enlighten me, any help would be much appreciated.

10 mins later... Cured, fixed, all good. See the answer below.

like image 353
Chemi Avatar asked Mar 28 '12 09:03

Chemi


2 Answers

The problem was position:absolute on the css .me-plugin amazing

I really hope this helps others. It was a total fluke that I tried it.

like image 165
Paul Sweatte Avatar answered Oct 04 '22 02:10

Paul Sweatte


If anyone has troubles with flash fallback in ie8, for me that code helps:

var player = new MediaElementPlayer('#player', {     /* ... place your options here ... */     enableAutosize: true,     success: function(player, node) {         player.setVideoSize(480,325);     } }  
like image 26
gregmatys Avatar answered Oct 04 '22 03:10

gregmatys