h111-110
This is an old revision of the document!
<html>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="http://p.jwpcdn.com/6/10/jwplayer.js"></script>
<div id="mediaplayer"></div>
<script type="text/javascript">
$(document).ready(function(){
jwplayer('mediaplayer').setup({
'file': 'rtmp://220.86.36.224:1935/live/teststream',
'title': 'h111-110',
'description': 'Description',
'controlbar': 'bottom',
'autostart': true,
});
});
</script>
</html>
<html>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src="http://p.jwpcdn.com/6/10/jwplayer.js"></script>
<div id="hls_mediaplayer"></div>
<script type="text/javascript">
$(document).ready(function(){
jwplayer('hls_mediaplayer').setup({
playlist: [{
// file is the url to m3u8 file
file:'http://www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8',
provider: 'http://dh8.kr/tmp/HLSProvider6.swf',
type:'hls'
}],
width: 640,
height: 480,
primary: "flash"
});
});
</script>
</html>
<html> <div id=“player” class=“player” style=“width:425px;height:300px;”></div> <div id=“info” class=“info”>
You have Flash version 10.1 or above. Enjoy Flowplayer!
</div> <script> flowplayer(“player”, 'http://releases.flowplayer.org/swf/flowplayer-3.2.12.swf', { clip: { url: “http://184.72.239.149/vod/smil:bigbuckbunnyiphone.smil/chunklist-b400000.m3u8”, ipadUrl: “http://184.72.239.149/vod/smil:bigbuckbunnyiphone.smil/chunklist-b400000.m3u8”, urlResolvers: [“httpstreaming”,“brselect”], provider: “httpstreaming”, autoPlay: false },
plugins: {
httpstreaming: {
// HLSProvider configuration options
url: 'http://dh8.kr/tmp/HLSProviderFlowPlayer.swf',
hls_debug: false,
hls_debug2: false,
hls_lowbufferlength: 3,
hls_minbufferlength: 8,
hls_maxbufferlength: 60,
hls_startfromlowestlevel: false,
hls_seekfromlowestlevel: false,
hls_live_flushurlcache: false,
hls_seekmode: 'ACCURATE'
}
}
}); </script> </html>
http://211.110.61.132:8081/live/stream/playlist.m3u8
flower
<html>
<link rel="stylesheet" href="//releases.flowplayer.org/5.5.0/skin/minimalist.css">
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="//releases.flowplayer.org/5.5.0/flowplayer.min.js"></script>
<script>
flowplayer.conf = {
live: true, // mandatory with live streams
rtmp: "rtmp://192.168.0.17/media_server"
};
flowplayer(function (api) {
api.bind("load", function (e, api, video) {
$("#vtype").text(video.type);
});
});
</script>
<body>
<div class="flowplayer play-button fixed-controls">
<video preload="none">
<source type="application/vnd.apple.mpegurl" src="http://192.168.0.17/media_server/stream.m3u8">
<source type="video/flash" src="stream_low">
</video>
</div>
</html>
똑똑이 망고스틴
https://docs.google.com/document/d/1dGWdFkxl6E8LfTDnXyMCUkmgsFVw0jF3-tf4iahQx_0/edit
h111-110.1422860926.txt.gz · Last modified: 2018/07/18 14:09 (external edit)