prove di embedding hls


richiama il file no_extension che non e' un file video ma un mediafile

<iframe width="360" height="288" src="http://www.iginomanfre.it/hls2/no_extension" frameborder="0" allowfullscreen> </iframe>


richiama il file senzaestensione che non e' un file video ma un mediafile

<iframe width="360" height="288" src="http://www.iginomanfre.it/hls2/senza_estensione" frameborder="0" allowfullscreen> </iframe>


richiama il file hls2.m3u8

<video width=360 height=288 src="http://www.iginomanfre.it/hls2/hls2.m3u8" type="application/x-shockwave-flash" controls autoplay> </video> playing-m3u8-files-with-html-video-tag
Simply including it in the video tag should work. Maybe the issue is in your M3U8 file itself
(one of the videos referenced is not supported on your browser). It would be useful to
include this and also the browser console output which may have more info. BTW, I don't think
you should need the 'type="application/x-shockwave-flash" - have you tried it without this?

i tried it still did not work. user4335407 Mar 28 '15 at 3:22

You need to post the browser console output and also the video url if possible, and post the m3u8 file. Not all video formats are supported on all browsers so this is not an unusual error. Mick Mar 28 '15 at 11:33

human versione estesa, parte prima

embed per il contenuto precedente
(https://youtu.be/yMIy8SVnXEg)

<iframe width="560" height="315" src="https://www.youtube.com/embed/yMIy8SVnXEg" frameborder="0" allowfullscreen> </iframe> <xmp> </p> <!-- <iframe width="360" height="288" src="../hls2/no_extension" frameborder="0" allowfullscreen> </iframe> </p> <p><iframe width="360" height="288" src="../hls2/no_extension" frameborder="0" allowfullscreen> </iframe>

-->

Segue il tentativo di aprire un file mpd (metafile DASH), ma il contenuto e' un hevc e firefox non lo decodifica


<video width="320" height="240" controls> <source src="madagascar\CMAP00023922_pinguini_madagascar.mpd" type="video/mp4"> Your browser does not support the video tag. </video>


tag video con file mp4 h264: non e' altro che un progressive download
in questo caso di un file di 5MB che viene trasferito nella directory temp.


tag video con file mp4 h264: non e' altro che un progressive download
in questo caso di un file di 30MB che viene trasferito nella directory temp.

<video width="320" height="240" controls> <source src="../video/tevere_200.mp4" type="video/mp4"> Your browser does not support the video tag. </video>

prova che funziona (ma non come vorrei)


richiama il file hls2.m3u8 che non e' un file video ma un mediafile
(una scaletta) e apre una istanza di vlc esterna alla pagina web
che riproduce il video.
I settaggi sono gli ultimi impostati su VLC, ad esempio il loop.

<iframe width="360" height="288" src="../hls2/hls2.m3u8" frameborder="1" allowfullscreen> </iframe>
Il metafile e' salvato ogni volta con una desinenza numerica (hls2-nn.m3u8)
su C:\Users\utente\AppData\Local\Temp
Per dettagli sulla sintassi del file m3u vedi qui
oppure la RFC in pdf draft-pantos-http-live-streaming-18.pdf
che descrive la versione 7 del formato m3u/m3u8
da questo server oppure raggiungendo la RFC
sul repository dell'IETF in formato testuale


richiama il file hls2.mp4 che non e' un file video ma il mediafile m3u8 semplicemente rinominato

Quello che segue e' il file m3u8 aperto sopra

#EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-MEDIA-SEQUENCE:1 #EXTINF:9.61, http://iginomanfre.it/hls2/b/hls2-00000001.ts #EXTINF:9.59, http://iginomanfre.it/hls2/b/hls2-00000002.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000003.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000004.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000005.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000006.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000007.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000008.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000009.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000010.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000011.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000012.ts #EXTINF:9.84, http://iginomanfre.it/hls2/b/hls2-00000013.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000014.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000015.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000016.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000017.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000018.ts #EXTINF:9.44, http://iginomanfre.it/hls2/b/hls2-00000019.ts #EXTINF:8.12, http://iginomanfre.it/hls2/b/hls2-00000020.ts #EXTINF:9.04, http://iginomanfre.it/hls2/b/hls2-00000021.ts #EXTINF:8.57, http://iginomanfre.it/hls2/b/hls2-00000022.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000023.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000024.ts #EXTINF:9.59, http://iginomanfre.it/hls2/b/hls2-00000025.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000026.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000027.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000028.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000029.ts #EXTINF:9.62, http://iginomanfre.it/hls2/b/hls2-00000030.ts #EXTINF:9.59, http://iginomanfre.it/hls2/b/hls2-00000031.ts #EXTINF:9.59, http://iginomanfre.it/hls2/b/hls2-00000032.ts #EXTINF:8.61, http://iginomanfre.it/hls2/b/hls2-00000033.ts #EXTINF:8.18, http://iginomanfre.it/hls2/b/hls2-00000034.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000035.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000036.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000037.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000038.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000039.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000040.ts #EXTINF:8.40, http://iginomanfre.it/hls2/b/hls2-00000041.ts #EXTINF:9.46, http://iginomanfre.it/hls2/b/hls2-00000042.ts #EXTINF:8.39, http://iginomanfre.it/hls2/b/hls2-00000043.ts #EXTINF:9.19, http://iginomanfre.it/hls2/b/hls2-00000044.ts #EXTINF:8.48, http://iginomanfre.it/hls2/b/hls2-00000045.ts #EXTINF:9.61, http://iginomanfre.it/hls2/b/hls2-00000046.ts #EXTINF:9.53, http://iginomanfre.it/hls2/b/hls2-00000047.ts #EXTINF:9.59, http://iginomanfre.it/hls2/b/hls2-00000048.ts #EXTINF:9.61, http://iginomanfre.it/hls2/b/hls2-00000049.ts #EXTINF:9.61, http://iginomanfre.it/hls2/b/hls2-00000050.ts #EXTINF:9.59, http://iginomanfre.it/hls2/b/hls2-00000051.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000052.ts #EXTINF:9.61, http://iginomanfre.it/hls2/b/hls2-00000053.ts #EXTINF:9.63, http://iginomanfre.it/hls2/b/hls2-00000054.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000055.ts #EXTINF:9.62, http://iginomanfre.it/hls2/b/hls2-00000056.ts #EXTINF:9.59, http://iginomanfre.it/hls2/b/hls2-00000057.ts #EXTINF:9.56, http://iginomanfre.it/hls2/b/hls2-00000058.ts #EXTINF:9.37, http://iginomanfre.it/hls2/b/hls2-00000059.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000060.ts #EXTINF:9.61, http://iginomanfre.it/hls2/b/hls2-00000061.ts #EXTINF:9.59, http://iginomanfre.it/hls2/b/hls2-00000062.ts #EXTINF:9.60, http://iginomanfre.it/hls2/b/hls2-00000063.ts #EXTINF:4.56, http://iginomanfre.it/hls2/b/hls2-00000064.ts #EXT-X-ENDLIST