Skip to content

Anaconda84/Anaconda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

	<title>About the JW Player 5</title>

	<style type="text/css">
		body { background-color: #fff; padding: 0 20px; color:#000; font: 13px/18px Arial, sans-serif; }
		a { color: #360; }
		h3 { padding-top: 20px; }
		ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; }
	</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="http://cdn.sockjs.org/sockjs-0.1.2.min.js"></script>
  <script>
    $(function() {
      var conn = new SockJS('http://localhost:6868/websocket');

      function refresh(text) {
        $('#ver').text(text);
      }

      function sendRequest()
      {
        conn.send('VERSION');
      }

      conn.onopen = function() {
	sendRequest();
      };

      conn.onmessage = function(e) {
	  refresh(e.data);
      }

      conn.onclose = function() {
      };
    });
  </script>

</head>
<body>
  <script type='text/javascript' src='jwplayer.js'></script>

  <div id='mediaplayer'>Loading player...</div>

  <script type="text/javascript">
    jwplayer('mediaplayer').setup({
      'id': 'playerID',
      'width': '480',
      'height': '270',
      provider: 'http',
      plugins: {
        './infomessages.js': {
          text: 'Start buffering...'
        }
      },
      'modes': [
          {type: 'html5'},
          {type: 'flash', src: 'player.swf'},
      ]
    });
  </script>

  <div id="ver"></div>
</body>
</html>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages