Copy/past audio/video or image link broken down

Copy/past audio/video or image link broken down

by Mohammad kabir -
Number of replies: 2

Hi,

Moodle 3.2.1

When  audio/video or image  link  copy/past from one page to another (using TinyMce editor),  href link got changed after save the page or activity.

Example:  beta.test.no/draftfile.php/8287/user/draft/271131179/test.mp3

turn to :    beta.test.no/ brokenfile.php#/../../ test.mp3

Why changing   draftfile.php  -> to  brokenfile.php#

Note:  Some place in moodle, TinyMce editor do not allow upload file/image. There I need to copy/past.








Average of ratings: -
In reply to Mohammad kabir

Re: Copy/past audio/video or image link broken down

by Mohammad kabir -

Just more clarification:

  brokenfile.php link load like:


In reply to Mohammad kabir

Re: Copy/past audio/video or image link broken down

by Joost Elshoff -
Picture of Particularly helpful Moodlers Picture of Testers

Hi Mohammad,

If you copy a link from an open editor (instead of copying it from the course page where it is shown as finished) you'll end up with a draftfile url, which in turn results in a brokenfile url.

Copy the url after you have saved your changes and paste that code. This should work.