HTML5: Play video from stored binary string

后端 未结 2 854
余生分开走
余生分开走 2021-02-10 07:44

I am trying to read the contents of a video file as a binary string using the FileReader.readAsBinaryString(Blob|File) as shown in the example http://www.html5rocks.com/en/tutor

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-10 08:15

    How about FileReader.readAsDataURL(Blob|File) ?
    It is explained in your html5rocks-link as well.

提交回复
热议问题