This behavior has been marked as resolved as it will not be fixed.
Summary:
When attempting to play lecture audio embedded via HTML5 {{}} tag using {{/files/{id}/download}}, media fails to load or play in Safari on iOS and desktop.
Expected behavior:
Instead it should allow the audio embedded in Canvas pages to load and play normally in Safari (iOS and desktop) without requiring refresh or cache clearing.
Happens in:
- iOS Safari (iPhone)
- Safari desktop
Steps to Reproduce:
- In a Canvas course, create or navigate to a Page.
- Switch the editor to HTML Editor and insert the following audio embed using a Canvas file download URL:
<p> <audio controls="controls"> <source src="/courses/[course_id]/files/[file_id]/download" type="audio/ogg" /> <source src="/courses/[course_id]/files/[file_id]/download" type="audio/mpeg" /> Your browser does not support the audio element. </audio> </p>
3. Save the page.
4. Open the page in:
- Safari on iOS (iPhone)
Safari desktop browser
5. Click the play button on the embedded audio player.
6. Observe that media does not load or does not begin playback
7. In some cases, the player appears but no audio starts at all even after multiple attempts or page refresh