1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-04 06:48:49 +02:00

Updated youtube.html to work

This commit is contained in:
Steve Heffernan 2012-08-13 13:46:01 -07:00
parent 0edfae58eb
commit fffa9ddcab

View File

@ -1,18 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<title>VideoJS | HTML5 Video Player</title>
<title>YouTube Test</title>
<link href="video-js.css" rel="stylesheet" type="text/css">
<link href="../../design/video-js.css" rel="stylesheet" type="text/css">
<!-- video.js must be in the <head> for older IEs to work. -->
<script src="video.js"></script>
<!--[if IE]>
<script src="https://getfirebug.com/releases/lite/1.4/firebug-lite.js"></script>
<!--<![endif]-->
<script src="../../src/core.js"></script>
<script src="../../src/lib.js"></script>
<script src="../../src/json.js"></script>
<script src="../../src/component.js"></script>
<script src="../../src/player.js"></script>
<script src="../../src/tech.js"></script>
<script src="../../src/controls.js"></script>
<script src="../../src/events.js"></script>
<script src="../../src/tracks.js"></script>
<script src="../../tech/html5/html5.js"></script>
<script src="../../tech/flash/flash.js"></script>
<script src="../../tech/youtube/youtube.js"></script>
<script src="../../src/setup.js"></script>
</head>
<body>
<video id="example_video_1" class="video-js vjs-default-skin" controls width="640" height="264" data-setup='{"techOrder":["youtube","html5"]}'>
<source src="http://www.youtube.com/watch?v=YjaZNYSt7o0" type='video/youtube'>
<source src="http://www.youtube.com/watch?v=9bZkp7q19f0" type='video/youtube'>
</video>
</body>