http streaming 코드

by 행복아이 posted Sep 11, 2014


Prev이전 문서

Next다음 문서


크게 작게 위로 아래로 댓글로 가기 인쇄

 <script src="video.js" type="text/javascript" charset="utf-8"></script>
 <link rel="stylesheet" href="video-js.css" type="text/css" media="screen" title="Video JS" charset="utf-8">

 <script type="text/javascript" charset="utf-8">
    // Add VideoJS to all video tags on the page when the DOM is ready

 <!-- Begin VideoJS -->
  <div class="video-js-box">
    <!-- Using the Video for Everybody Embed Code -->
    <video class="video-js" width="640" height="264" controls preload poster="">
      <source src="" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
      <source src="" type='video/webm; codecs="vp8, vorbis"' />
      <source src="" type='video/ogg; codecs="theora, vorbis"' />
      <!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. -->
      <object id="flash_fallback_1" class="vjs-flash-fallback" width="640" height="264" type="application/x-shockwave-flash"
        <param name="movie" value="" />
        <param name="allowfullscreen" value="true" />
        <param name="flashvars" value='config={"playlist":["", {"url": "","autoPlay":false,"autoBuffering":true}]}' />
        <!-- Image Fallback. Typically the same as the poster image. -->
        <img src="" width="640" height="264" alt="Poster Image"
          title="No video playback capabilities." />
    <!-- Download links provided for devices that can't play video in the browser. -->
    <p class="vjs-no-video"><strong>Download Video:</strong>
      <a href="">MP4</a>,
      <a href="">WebM</a>,
      <a href="">Ogg</a><br>
      <!-- Support VideoJS by keeping this link. -->
      <a href="">HTML5 Video Player</a> by VideoJS
  <!-- End VideoJS -->