如何在php文件中加载webvtt?类似于:
<?php
header("Content-Type: ???; charset=ISO-8859-1");
WEBVTT
00:00.000 --> 00:01.000
vM7nH0Kl-120.jpg#xywh=0,0,120,50
00:00.000 --> 00:02.000
vM7nH0Kl-120.jpg#xywh=120,0,120,50
00:00.000 --> 00:03.000
vM7nH0Kl-120.jpg#xywh=240,0,120,50
00:00.000 --> 00:04.000
vM7nH0Kl-120.jpg#xywh=360,0,120,50
?>发布于 2013-04-14 02:39:38
您应该使用text/vtt请参阅:http://dev.w3.org/html5/webvtt/#the-webvtt-file-format
header("Content-Type:text/vtt;charset=utf-8");https://stackoverflow.com/questions/15991333
复制相似问题