I have created a field for drop a song from local or iTunes using angularjs and laravel. On google chrome iTunes dropping is working. But, it isn't working on safari browser. Anybody knows what should I do ? Thank you. I have added it's view here.]1
<tab heading="Upload New File" select="tabSelected('uploadnew')">
<div class="input-group">
<label> Asset Name </label>
<span class="color-red ng-scope">*</span>
<input type="text" ng-model="uploadnew.assetName" class="form-control" />
</div>
<div class="form-group">
<label> Notes </label>
<textarea class="form-control" msd-elastic ng-model="uploadnew.notes"></textarea>
</div>
<div class="form-group fileUp">
<div class="inlinehr"><input type="file" class="ng-pristine ng-valid ng-touched" ngf-select="uploadnew.selectFile($files)" ngf-multiple="false"></div>
<span class="badge" ng-show="!uploadnew.newFile">No File Selected</span>
<span></span>
</div>
<div>
<div ngf-drop ngf-select ng-model="uploadnew.droppedFiles" class="drop-box"
ngf-drag-over-class="'dragover'" ngf-multiple="true" ngf-allow-dir="true">Drop file here</div>
<div ngf-no-file-drop>File Drag/Drop is not supported for this browser</div>
</div>
</tab>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire