본문 바로가기

IT/동영상

JWPLAYER6 테스트

반응형

https://account.jwplayer.com/#/publish/select/internet


로그인을 해야합니다.





1. Flash


<head> Insert this line of code into your webpage's <head> tag to load the cloud-hosted JW Player¹

<script src="http://jwpsrv.com/library/OeVN3jbuEeOuORIxOQfUww.js"></script>

¹ You only need to load the player library once in your website's <head>. Additional player embeds require the <body> embed code only.

<body> Copy the embed code below and paste it into the <body> of your webpage HTML.

<div id='playerKVdUZELpIiGT'></div>
<script type='text/javascript'>
    jwplayer('playerKVdUZELpIiGT').setup({
        file: 'rtmp://IP주소/live/live.sdp',
        image: 'http://www.longtailvideo.com/content/images/jw-player/lWMJeVvV-876.jpg',
        title: '테스트',
        width: '100%',
        aspectratio: '16:10',
        autostart: 'true',
        primary: 'flash'
    });
</script>



2. HTML5

<head> Insert this line of code into your webpage's <head> tag to load the cloud-hosted JW Player¹

<script src="http://jwpsrv.com/library/OeVN3jbuEeOuORIxOQfUww.js"></script>

¹ You only need to load the player library once in your website's <head>. Additional player embeds require the <body> embed code only.

<body> Copy the embed code below and paste it into the <body> of your webpage HTML.

<div id='playerUGNoDNbRcSfg'></div>
<script type='text/javascript'>
    jwplayer('playerUGNoDNbRcSfg').setup({
        file: 'rtmp://IP주소/live/live.sdp',
        image: 'http://www.longtailvideo.com/content/images/jw-player/lWMJeVvV-876.jpg',
        title: '테스트',
        width: '100%',
        aspectratio: '16:10',
        autostart: 'true'
    });
</script>


반응형

'IT > 동영상' 카테고리의 다른 글

Wirecast 를 이용한 LIVE  (0) 2016.06.22
jwplayer 샘플 영상 웹에서 바로 확인  (0) 2014.12.19
wowza 사용안내  (1) 2014.01.17
디스플레이의 해상도 720p, 1080i  (0) 2014.01.17
wowza 사용을 위한 flash player 설정값  (0) 2014.01.16