Hi,sorry to trobule you,but I has a urgent problem when I play local video on ios8+. the development is cordova@5.3.1 and the version of ios simulator is 8.4. now I want to play local a video using html tag "video" after download and unzip ,but the result is just a gray play button and can't play. I had converted to cdvfile:// and tried to use native path,both are the same. and the code here
cordovaFileTransfer.download(uri,targetSource) .then(function(entry){ var desDIr=self.filePath+'/'+self[type]+'/'+o._id; scope.core.textLabel="解压中。。。"; scope.core.progress=""; cordovaZip.unzip(targetSource,desDIr).then(function(data){ resolveLocalFileSystemURL(desDIr+'/running.mp4', function(entry) { var nativeUrl=entry.toInternalURL(); o.videoUrl= nativeUrl; o.coverUrl=desDIr+'/cover.png'; if(type=='star'){ o.courseUrl= desDIr+'/course.json'; o.coverUrl=desDIr+'/control.json' } d.resolve(o); }); },function(err){ console.log(JSON.stringify(err)); d.reject(err); }) },function(err){ console.log(JSON.stringify(err)); d.reject(err); },function(notify){ scope.core.textLabel="下载中"; scope.core.progress=Math.round((notify.loaded / notify.total) * 100)+"%"; }) the video code here <video controls="controls" width="400px" height="250px" preload="auto" webkit-playsinline="true"> <source src="{{config.src}}" type="video/mp4" /> </video> and also add <access origin=''cdvfile://*"/> to config.xml So can you help me ...waiting for you 杨恒