JavaScript pour le lien vidéo MP4 dans HTML
<base href="http://www.margaritaville.tv">
<title>1997-05-07-Houston, TX - 4. Grapefruit-Juicy Fruit</title>
<style>body{background: black; margin: 0;}</style>
<div href="2d12f6292e254c4c92935b320c49488e" id="video-player-internal" style="height: 100%; width: 100%;"></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="javascript/flowplayer/flowplayer-3.2.6.min.js"></script>
<script type="text/javascript" src="javascript/flowplayer/flowplayer.controls-3.0.2.min.js"></script>
<script type="text/javascript">
//Initializes Video Player
var player = flowplayer("video-player-internal", {src:"flowplayer-3.2.7.swf", wmode:"transparent"}, {
canvas: {
backgroundGradient: "none",
backgroundColor: "transparent"
},
clip: {
scaling: "fit",
autoPlay: false
},
key: '$0797ccc0673c9ea38f0'
}).ipad();
jQuery(function(){
player.load("2d12f6292e254c4c92935b320c49488e",function (event, api, video) {
// the new video is about to start
console.info(video.duration);
});
});
</script>
Gorgeous Goshawk