
IE 11 Black Screen, no Video - JW 6.9.4867 Ads Edition
Hi,
I have a few problems with the IE 11 - users have told me they only had a black screen and could not start the video. But that does not seem to be all IE Users.
CMS Wordpress: Site: http://www.kino-vorschau.com
http://www.kino-vorschau.com/trailer/tammy-voll-abgefahren/
The Code:
<div class="entry-content">
<?php if ( get_post_meta($post->ID, 'video_url', true) ) : ?>
<script src="http://jwpsrv.com/library/Jr+N3uNUEeKyeBIxOQulpA.js" ></script>
<div id="video-jwplayer">
<div id="myElement">Loading the player...</div>
<script type='text/javascript'>
var fn = function(preroll) {
jwplayer('myElement').setup({
file: '<?php the_field('video_url'); ?>',
image: 'http://files.kino-vorschau.com/kino-titel.jpg',
width: '100%',
aspectratio: '16:9',
skin: 'bekle',
primary: 'flash',
advertising: {
client: 'vast',
admessage: 'Werbung - Das Video startet in XX Sekunden...',
schedule: {
firstPreroll: {
offset: 'pre',
ga: {},
tag: preroll
}
}
}
});
};
if (typeof(naMediaAd) == "undefined" || naMediaAd.includeAd("PREROLL", fn) === false) fn();
</script>
</div>
---End----
<div id="video-jwplayer"> I need to put the above into a DIV because not all browsers (firefox) implemented the 100% correct.
CSS:
#video-jwplayer { width: 675px; height: 360px; overflow: hidden; padding: 0px; }
#video-jwplayer embed { height: 350px !important; width: 675px !important; }
#video-jwplayer object { height: 350px !important; width: 675px !important; }
Caching:
WP Super Cache
BWP Minify
Plugin <?php the_field('video_url'); ?> ->
Advanced Custom Fields 4.3.8
Do you have an idea? thousand thanks
Roberto