开发者

How can get strings value about .m3u8 or .ts file from event of video tag?

I want to handle string value from .m3u8 or .ts file(below) on Javascript.

Can I access this information开发者_开发问答(converted string or JSON)through video tag event? or is there any method?

#EXTM3U
#EXT-X-TARGETDURATION:3.84
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:3.84,
some_url/1/some_file1.ts?from=0&to=3840
#EXTINF:1.728,
some_url/1/some_file2.ts?from=0&to=3840
#EXT-X-ENDLIST
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜