Issue Details (XML | Word | Printable)

Key: MDL-9664
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nicolas Connault
Reporter: Ken DeVellis
Votes: 0
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

mms:// protocol does not work in the Resource - Link to a file or web site

Created: 02/May/07 12:41 AM   Updated: 10/Dec/08 06:40 AM
Component/s: Resource
Affects Version/s: 1.8
Fix Version/s: 1.9

Environment: Windows XP, 2003 Server

Database: MySQL
Participants: Bradley R. Barnes, Chris Edwards, Diego Sosa, Katja Krüger, Ken DeVellis, Nicolas Connault and Petr Škoda (skodak)
Security Level: None
Resolved date: 28/Aug/07
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Video streaming with the mms:// protocol no longer works in moodle 1.8+. Message returned is "Internet Explorer cannot display the webpage". Can force it to work if the following subfolder is replaced: moodle/mod/resource/type. This folder can be replaced with the folder from versions 1.54+, 1.65+ and 1.72+ and the video streaming then works great. However, this folder replacement in turn breaks the editing mode in 1.8+ when trying to add a new resource.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Ken DeVellis added a comment - 02/May/07 12:59 AM
Actually, the folder that was replaced to make the mms:// protocol work was moodle/mod/resource/type/file

Katja Krüger added a comment - 30/May/07 03:52 PM
We had the same problem with *.wmv files. We wanted them to show up embedded in a popup window. After I changed the line 218 in mod/resource/type/file/resource.class.php (version moodle 1.8.+; file version 1.53.2.9 2007/04/05) from:
if ($resource->options == "frame")
to:
if ($resource->options != "frame")
as it was befor in the 1.7.1 version, everything SEEMS to work fine. I do not have the time to understand the programming of the module therefore don't know what else happens know.

Petr Škoda (skodak) added a comment - 30/May/07 04:42 PM
Assigning to Nicolas, our embedding guru

Nicolas Connault added a comment - 31/Jul/07 12:44 AM
I've temporarily altered that condition on line 218 so that it always returns true. I had commented there previously that the option 'frame' didn't even make sense anymore since we no longer accept any frames in Moodle since 1.8.

The change works so far as pop-up embedded files now play fine.

I wasn't able to test mms:// so please run some tests and let me know the results.


Nicolas Connault added a comment - 31/Jul/07 12:45 AM
Just one more thing regarding mms://

Be mindful that this protocol has been dropped by MS since the release of WMP 11, and is not even supported anymore. This may explain why your browser can no longer play such streaming content.


Ken DeVellis added a comment - 04/Aug/07 01:21 PM
Setting the condition on line 218 to always return true seems to solve the problem - I used " if(1 == 1) ". The embeded WMP player window does show up somewhat larger than in Moodle versions 1.7 and earlier, but this is not a problem.

I tested the mms:// protocol with WMP 10 and 11 and it works great, to my great relief, with both IE6 and IE7. We use Windows Media Services 9 running on a Windows Server 2003 platform to stream our .wmv files.

The impact of deprecating the mms:// protocol as indicated in Microsoft's documentation is unfortunately very misleading. Reading the documentation, one would naturally think that mms:// urls would simply stop working with WMP 11, but this is not the case. From the following Microsoft link - http://www.microsoft.com/windows/windowsmedia/licensing/netprokit.aspx - they state that "MMS protocol is not supported; however, "mms://" as a "protocol rollover URL" is still used (and highly recommended) when content providers expose their URLs."

So, they no longer support it, but they highly recommend using it - go figure. We will continue to use this protocol in our Moodle site for streaming .wmv files and I'm not concerned with any switching or "rollover" that may occur to optimize the actual protocol selected.

Thanks for your work on this issue.


Nicolas Connault added a comment - 28/Aug/07 09:32 PM
This has been resolved.

Bradley R. Barnes added a comment - 13/Nov/07 05:51 AM
This issue has not been resolved or has been re-introduced. It is an active issue in the current 1.8.3+ release as of this time and date. Katja Krüger patch applied successfully.

Chris Edwards added a comment - 12/Feb/08 01:48 AM
We were having problems with linked resources (files uploaded to the course) not getting downloaded properly in Windows Media Player. Applying the above patch allowed us to view the files within an embedded element at least. This is with Moodle 1.8.4+ (2007021540). This may be unrelated, but the fix was essential for getting linked resources working in some fashion with WMP9 and WMP11.

Chris Edwards added a comment - 13/Feb/08 04:33 AM
I did test this yesterday, but it appears to not work today, for some reason, so this did not fix the problem I was seeing.

Diego Sosa added a comment - 10/Dec/08 06:40 AM
Hi, i solved the problem adding in the media serverr .wmv to pool , ej mms://Server/Video move to mms://Server/Video.wmv and SOLVED!

Saludos desde Argentina!