Kode flash player Video Streaming untuk dipasang di web Anda


1. HTML 5 Player (Bisa Autoplay)
<link href="https://klikhost.com/wowzas/autoplay/video-js.css" rel="stylesheet">
<script type="text/javascript" src="//player.wowza.com/player/latest/wowzaplayer.min.js"></script>
<video playsInline id="klikhost" class="video-js vjs-default-skin vjs-big-play-centered vjs-fluid" autoplay="autoplay" loop="loop" unmuted="" controls="controls" width="640" height="480" data-setup="{">
<source type="application/x-mpegURL" src="https://5bf7b725107e5.streamlock.net:443/USERNAME/live/playlist.m3u8" />
</video>
<!-- JS code -->
<!-- If you'd like to support IE8 (for Video.js versions prior to v7) -->
<script src="https://klikhost.com/wowzas/autoplay/videojs-contrib-hls.js"></script>
<script src="https://klikhost.com/wowzas/autoplay/video.min.js"></script>
<script>
var player = videojs('klikhost');
player.play();
</script>

 

Ganti Warna Merah dengan Username Anda.

2. Native HTML 5 Wowza (Tidak Bisa Autoplay)

Dengan menggunakan kode ini, maka player juga bisa diputar di Android, iOS dan semua jenis browser di leptop/PC yang support HTML5.

 

<center>
<script type="text/javascript" src="//player.wowza.com/player/latest/wowzaplayer.min.js"></script>
<div id="playerElement" style="width:100%; height:0; padding:0 0 56.25% 0"></div>
<script type="text/javascript">
WowzaPlayer.create('playerElement',
    {
    "license":"PLAY1-cXRwb-pezWC-VRhpy-N3P8F-nHum3",
    "title":"Nama TV",
    "description":"Live",
    "sourceURL":"https://5bf7b725107e5.streamlock.net:443/username/live/playlist.m3u8",
    "autoPlay":true,
    "volume":"95",
    "mute":false,
    "loop":true,
    "audioOnly":false,
    "uiShowQuickRewind":true,
    "uiQuickRewindSeconds":"30",
    "posterFrameURL":"https://klikhost.com/wowzas/livetv.jpg",
    "endPosterFrameURL":"",
    "uiPosterFrameFillMode":"fill"
    }
);
</script>

</center>
 
Ganti warna biru "username" dengan username wowza Anda.

Note :

- Agar streaming Anda bisa diputar di Gadget, format video harus H.264 (baseline) dan format audio harus HE-AAC.

 

Konsultasikan dengan customer support kami jika Anda mengalami kendala ==> WA : 085755987055