Skip to content

Commit d1d6257

Browse files
committed
fix audio url
1 parent 2f6ec41 commit d1d6257

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/partials/pageView.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="h-100 overflow-auto" ng-if="type == 'pdf'">
77
<pdfviewer class="h-100 overflow-auto" src="{{url}}" id="viewer"></pdfviewer>
88
</div>
9-
<div ng-if="type == 'audio'"><audio controls="controls"><source src="{{url}}" /></audio></div>
9+
<div ng-if="type == 'audio'"><audio controls="controls"><source ng-src="{{url}}" /></audio></div>
1010
<div ng-if="type == 'IPython'"><notebook file="url"></notebook></div>
1111
<div ng-if="type == 'error'" class="file-error container d-flex h-100"><h1 class="paper-empty-title m-auto" translate="ERRORS.{{content}}">Error</h1></div>
1212
<div ng-if="type == 'loading' && !error" class="file-error container d-flex h-100"><h1 class="paper-empty-title m-auto">Loading&hellip;</h1></div>

0 commit comments

Comments
 (0)