Desidero aggiungere un cursore ai video di Vimeo. Ho controllato this slider, ma utilizza il tag video HTML5. Quando uso lo stesso tag con un URL video Vimeo, non funziona. Qui è il mio codice:Il video Vimeo non funziona con il tag HTML5
<video src="http://player.vimeo.com/video/68866759"></video>
Ecco il codice completo:
<html>
<body>
<script type='text/javascript' src='http://amazingslider.com/wp-includes/js/jquery/jquery.js?ver=1.7.2'></script>
<script type='text/javascript' src='http://amazingslider.com/wp-content/plugins/amazingslider-plugin/sharedengine/amazingslider.js?ver=1.6'></script>
<link rel="stylesheet" type="text/css" media="all" href="http://amazingslider.com/wp-content/themes/twentyeleven/style.css" />
<div class="demo-slider">
<div style="display:block;position:relative;margin:15px auto 30px;" id="amazingslider-11">
<ul style="display:none;" class="amazingslider-slides">
<li><img alt="Big Buck Bunny Copyright Blender Foundation" src="http://amazingslider.com/wp-content/uploads/amazingslider/11/images/big_buck_bunny_480_270.jpg">
<video src="http://player.vimeo.com/video/68866759" preload="none"></video>
</li>
<li><img alt="Elephants Dream Copyright Blender Foundation" src="http://amazingslider.com/wp-content/uploads/amazingslider/11/images/elephants_dream_480_270.jpg">
<video src="http://www.youtube.com/embed/TLkA0RELQ1g" preload="none"></video>
</li>
<li><img alt="Sintel - Third Open Movie by Blender Foundation" src="http://amazingslider.com/wp-content/uploads/amazingslider/11/images/Sintel_480_270.jpg">
<video src="http://www.youtube.com/embed/eRsGyueVLvQ" preload="none"></video>
</li>
</ul>
<ul style="display:none;" class="amazingslider-thumbnails">
<li><img src="http://amazingslider.com/wp-content/uploads/amazingslider/11/images/thumbnails/big_buck_bunny_480_270.jpg"></li>
<li><img src="http://amazingslider.com/wp-content/uploads/amazingslider/11/images/thumbnails/elephants_dream_480_270.jpg"></li>
<li><img src="http://amazingslider.com/wp-content/uploads/amazingslider/11/images/thumbnails/Sintel_480_270.jpg"></li>
</ul>
<div style="display:none;" class="amazingslider-engine"><a href="http://www.amazingslider.com">jQuery Slider</a></div>
</div>
<script src="http://amazingslider.com/wp-content/uploads/amazingslider/11/sliderengine/initslider.js"></script>
</div>
</body>
</html>
Vimeo ti offre una pagina da incorporare. Copia qualsiasi frammento HTML che Vimeo ti fornisce e incollalo al posto del tuo '