using MediaElement

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/12/2013 9:57:07 AM
Gravatar
Total Posts 8

using MediaElement

friends, i use in my custom page this code to show attached files

 <portal:MediaElement ID="ml1" runat="server" AutoDetectFileType="true" EnableViewState="false" FileUrl='<%# this.upLoadPath + Eval("ServerFileName") %>' AddInitScript="true" />
            

it plays mp3 files but does not play video files. I tried to play wmv mp4 quicktime.

Any ideas?

6/12/2013 10:20:58 AM
Gravatar
Total Posts 31

Re: using MediaElement

Not having many experience using MediaElement before, did you try html5 <video>?

6/12/2013 3:24:22 PM
Gravatar
Total Posts 18439

Re: using MediaElement

I think that <portal:MediaElement was just something I threw together while experimenting one day and it isn't used anywhere in mojoPortal. Maybe these same issues you mention is why I didn't end up using it anywhere.

We have several features for playing media included in mojoPortal that use jPlayer so if you look around you can easily find good examples to use jplayer in your own custom features.

Hope that helps,

Joe

 

6/13/2013 12:27:00 AM
Gravatar
Total Posts 8

Re: using MediaElement

i resolved this problem, i used incorrect codecs in video files. Html5 doesnt support them.

Joe, i think that mediaelement is great control and you should finish it. Or create usercontrol to render files using jPlayer. it should be like a rule for mojo developers.

You must sign in to post in the forums. This thread is closed to new posts.