Hi Anil,
the media files mp4, m4v, and m4a are using thae same setting as .mov does.
If you will get a look at the source then you will see this in file moodle/filter/mediaplugin/filter.php
Best regards, Ralf
if ($CFG->filter_mediaplugin_enable_mov) {
$search = '/<a.*?href="([^<]+\.mov)(?d=([\d]{1,4}%?)x([\d]{1,4}%?))?"[^>]>.?<\/a>/is';
$newtext = preg_replace_callback($search, 'mediaplugin_filter_qt_callback', $newtext);
// MDL-18658
$search = '/<a.*?href="([^<]+\.mp4)(?d=([\d]{1,4}%?)x([\d]{1,4}%?))?"[^>]>.?<\/a>/is';
$newtext = preg_replace_callback($search, 'mediaplugin_filter_qt_callback', $newtext);
$search = '/<a.*?href="([^<]+\.m4v)(?d=([\d]{1,4}%?)x([\d]{1,4}%?))?"[^>]>.?<\/a>/is';
$newtext = preg_replace_callback($search, 'mediaplugin_filter_qt_callback', $newtext);
$search = '/<a.*?href="([^<]+\.m4a)(?d=([\d]{1,4}%?)x([\d]{1,4}%?))?"[^>]>.?<\/a>/is';
$newtext = preg_replace_callback($search, 'mediaplugin_filter_qt_callback', $newtext);
}
Hi Ralf,
agree we should be able to do that... can you point me, please to some mp4/m4v sources? If so, I'll try to do my best. Also, I think the hacked filter in your MacBook could be a good point of start, if you can attach it here...
About YouTube using mp4 for iPods/iPhones... that's true... but I don't think those files are available publicly, in their servers, or perhaps yes? Doesn't affect the main thing of the bug, in any case, just a side comment.
Ciao