etianen / html5media

Enables <video> and <audio> tags in all major browsers.
http://html5media.info/
GNU General Public License v3.0
1.28k stars 384 forks source link

Drops Additional CSS #39

Closed fanfavorite closed 11 years ago

fanfavorite commented 11 years ago

If you have additional CSS like position absolute and such, it removes it when doing the fallback. A simple fix is to add:

j.title=b.title; j.style.cssText=b.style.cssText; <--Added j.style.display="block";

etianen commented 11 years ago

Nice! Hit me with a pull request, and I'll include it in a release. On 13 Sep 2013 21:20, "fanfavorite" notifications@github.com wrote:

If you have additional CSS like position absolute and such, it removes it when doing the fallback. A simple fix is to add:

j.title=b.title; j.style.cssText=b.style.cssText; <--Added j.style.display="block";

— Reply to this email directly or view it on GitHubhttps://github.com/etianen/html5media/issues/39 .