-
Functional Test
-
Minor
-
Moodle 4.0
-
None
This test requires an image, an mp3 and an mp4 file with accompanying WebVTT files containing subtitles (such as the example files attached). The Atto text editor should be site default and the VideoJS player should be enabled.
- Log in as a user and go to a forum.
- Click to add a new discussion and verify you see the Atto editor.
- Click the Insert image icon.
- Browse and upload an image from your computer.
- Change the size to 400x400 and try to save it.
- Verify you are warned you must either add a description or check the 'This image is decorative only' box.
- Check the 'This image is decorative only' box and click Insert image.
- Click Post to forum and verify that the image displays correctly.
- Click to reply to your post.
- Click the Insert Media icon.
- Click the "Audio" tab
- Browse and upload an mp3 file from your computer.
- Click Insert media.
- Click Post to forum and verify that the mp3 file displays correctly.
- Edit the forum post, click the mp3 file, then the media button, and experiment with changing the advanced settings.
Note: If you are not able to select the mp3 file by clicking, you might need to use the keyboard. In most browsers using Shift + Left/Right Arrow (same way as selecting text in the editor) works. Alternatively, dragging the mp3 file can work in some browsers. - Save changes and verify that the mp3 file displays as expected.
- Add another reply, this time using the Insert Media icon and clicking the "Video" tab
- Browse and upload an mp4 file from your computer.
- Click Post to forum and verify that the mp4 file displays correctly.
- Edit the forum post, click the mp4 file, then the media button, and experiment with changing the display options.
- Save changes and verify that the mp4 file displays as expected.
- Edit the forum post, click the mp4 file, then the media button, and experiment with changing the advanced settings.
- Save changes and verify that the mp4 file displays as expected.
- Edit the forum post, click the mp4 file, then the media button, then add the WebVTT files.
- Save changes and verify that subtitles are correctly displayed.
- Testing discovered
-
MDL-74113 Atto media plugin does not allow editing of previously saved posts
- Closed