v2.5.2
Giriş yap

m3u8 dosyasını html player ile çalıştırma

hasaneryilmaz
2,927 defa görüntülendi

https://manifest.googlevideo.com/api/manifest/hls_variant/expire/1606169278/ei/Xt67X_rxMI_j7gPjmJ2ICA/ip/78.173.16.122/id/LvfaMv9nbJc.3/source/yt_live_broadcast/requiressl/yes/hfr/1/playlist_duration/30/manifest_duration/30/maudio/1/vprv/1/go/1/keepalive/yes/dover/11/itag/0/playlist_type/DVR/sparams/expire%2Cei%2Cip%2Cid%2Csource%2Crequiressl%2Chfr%2Cplaylist_duration%2Cmanifest_duration%2Cmaudio%2Cvprv%2Cgo%2Citag%2Cplaylist_type/sig/AOq0QJ8wRQIhAJAkfyxrFkxhrJ_IgqZbV-mpjtVP5sJ6ml2cR7J2kavXAiA53fGhqvo6hEBG9HPmw5udKIWSzquQPRQlyd8L9wa0LQ%3D%3D/file/index.m3u8


yukarda belirttiğim m3u8 dosyasını html playerda nasıl açabilirim.

masaüstü vlc player ile linki açtığımda sorunsuz çalışmaktadır.

tapsin
672 gün önce

<link href=”//tapsin.net/video-js.min.css” rel=”stylesheet”>
<script src=”//tapsin.net/video.min.js”></script>

bunları PHP içine header taglarına göm sonra

<video
id=”my-player”
class=”video-js”
controls
preload=”auto”
poster=”//tapsin.net/oceans.png”
data-setup=’{}’>
<source src=”//tapsin.net/oceans.mp4" type=”video/mp4"></source>
<source src=”//tapsin.net/oceans.webm” type=”video/webm”></source>
<source src=”//tapsin.net/oceans.ogv” type=”video/ogg”></source>
<p class=”vjs-no-js”>
To view this video please enable JavaScript, and consider upgrading to a web browser that
<a href=”mailto:[email protected]” target=”_blank”>
supports HTML5 video
</a>
</p>
</video>

buradaki source kısmına SRC yazan yere URL type kısmına :D video/mp4 yada application/x-mpegURL yapacaksın ok..