播放下载的视频phonegap

时间:2017-11-11 07:05:04

标签: javascript ios cordova video download

如何使用phonegap新FileManager()播放下载的视频;插入 ? 在javascript使用此

var a = new DirManager(); // Initialize a Folder manager
            a.create_r('assets/css',Log('complete/ m0101 img '));
            var b = new FileManager();
    b.onFileSystemSuccess('https://www.prices92.com/videos/2016/08/24/1472027345257d9-hd.mp4','cdvfile://localhost/persistent/resources/introHD.mp4');

并使用此

在HTML中
<video   id="myVideo3" preload="none" poster="resources/videoposter.png" width="100%" controls>
                        <source   src="cdvfile://localhost/persistent/assets/css/introHD.mp4" type="video/mp4">
                        </video>

0 个答案:

没有答案