<h1>Überschift</h1>
<p><video width="700" height="400" controls id="HTML5videoPlayer"><source src="video.mp4" type="video/mp4"><strong>The HTML5 video tag is not supported by Your browser. Can’t play video</strong><br />
<a href="video.mp4">Download the video</a></video></p>
<script>
jQuery(document).ready(function($) {
wp_cta_load_variation( '159' , '' , '0' )
});
</script>
<style type="text/css" id="wp_cta_css_custom_159_0" class="wp_cta_css_159 ">
</style>
<script type="text/javascript" id="wp_cta_js_custom">jQuery(document).ready(function($) {
});
</script>
<div style="float:left;">
<div id='wp_cta_159_container' class='wp_cta_container cta_outer_container' style='margin-top:0px;margin-bottom:0px;position:relative;' >
<div id='wp_cta_159_variation_0' class='inbound-cta-container wp_cta_content wp_cta_variation wp_cta_159_variation_0' style='display:none; margin:auto; width: 50px; height: 100px;' data-variation='0' data-cta- id='159'><div id="blank-cta-template">
<html>
<head>
<title>nach 50 Sekunden Banner einblenden</title>
<meta charset="UTF-8">
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script>
$(document).ready(function(){
wp_cta_load_variation("159", "", "0");
showOn(50, document.getElementById("Testverkauf"));
});
</script>
<script>
function showOn(position, element){
function checkTime(){
var playTime = element.currentTime;
var min = position - 1;
var max = position + 1;
if(playTime > min && playTime < max){
$("#banner").fadeIn("slow", function(){
console.log("Banner eingeblendet bei " + playTime + " sek.");
});
window.clearInterval(callIntervall);
}
}
var callInterval = window.setInterval(checkTime, 500);
}
</script>
</head>
<body>
<video class="wp-video-shortcode" id="video" width="700" height="400" autoplay="true" preload="metadata" controls="controls">
<source type="video/mp3" src="http://....de/video" />
<a href="http://....de/video"></a>
</video>
<div id="banner" style="display:none">
<a href="http://xyz.de" target="blank" title="Zielseite">
<img src="http://.../CTA.jpg">
</a>
</div>
</body>
</html>