can't play video

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
3/21/2018 6:34:47 AM
IDI
Gravatar
Total Posts 26

can't play video

Hi

running 2.4.0.9 MSSQL

I'm trying to play some educational videos in m4v format: I can load the files, add them to "video player", have them on final page but.. they do not play !!

In system log I get no errors

Becouse i'm using a skin made with Artisteer, I did loaded a standard artisteer  skin provided by Mojo (art42-businessblue3), but still nothing happens

On an other website, with the same hosting but running 2.6, it all works so I do not think it's a IIS mime problem, but I'm a newby

Someone can give me a help ?

Thank you so much in advance

Michele (from rome)

3/22/2018 6:09:41 AM
IDI
Gravatar
Total Posts 26

Re: can't play video

updated to 2.6.0.0 hoping it would resolve

nothing happens, have the same problem

helpppp

Michele

3/23/2018 9:32:37 AM
Gravatar
Total Posts 2239

Re: can't play video

Hi Michele,

Can you browse directly to the video and it plays in your browser? For example, a url like www.mywebsite.url/data/sites/1/media/videos/name-of-video.mp4 would bring up the video in your browser or ask you to download it?

What extension is on the video file? mp4, m4v?

3/24/2018 10:09:35 AM
IDI
Gravatar
Total Posts 26

Re: can't play video

Hi Joe

thank you so much..

with firefox console debbugger I can see this error:

Il caricamento HTTP non è riuscito con stato 404. Impossibile completare il caricamento della risorsa multimediale https://intranet.idi.it/Data/Sites/1/media/filmati/test-M4V.m4v. video-test.aspx

jPlayer 2.5.0 : id='ctl00_mainContent_ctl01_PlayerInstance' : Error! Media URL could not be loaded. Check media URL is valid. Context: https://intranet.idi.it/Data/Sites/1/media/filmati/test-M4V.m4v

May be it depends of https and not http ? The video file is .m4v and works great "outside" mojo.

If it helps .. audio file are reproduced with no problems even from the same directory

Bests

Michele (from rome)

3/24/2018 11:54:58 AM
Gravatar
Total Posts 2239

Re: can't play video

Hi,

Your server isn't serving the .m4v file because IIS doesn't have a mime type configured for this file extension. Please find the mime types in your web.config file and add the following:

<remove fileExtension=".m4v" />
<mimeMap fileExtension=".m4v" mimeType="video/mp4" />

If these aren't already in the web.config and you just upgraded, please make sure you are using the web.config from the release. You can copy your changes (settings) to the new web.config but using the old web.config is sure to cause you problems.

Thank you,
Joe

3/26/2018 4:42:07 AM
IDI
Gravatar
Total Posts 26

Re: can't play video

Hi Joe

in web config all parameters were present.. double checked and restarted but nothing changes, so I guess it is not that problem.

I've tried also with different file format, but the result is the same

If you want I can provide separatly access credentials, if you want to check something else...

In log I can find following:

2018-03-26 11:36:23,074 ERROR 195.250.242.250 - it-IT - /Data/Sites/1/media/filmati/test-m4v.m4v - mojoPortal.Web.PageNotFoundHttpModule - Referrer(https://intranet.idi.it/video-test.aspx)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/404notfound.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-26 11:36:25,699 ERROR 195.250.242.250 - it-IT - /Data/Sites/1/media/filmati/test-m4v.m4v - mojoPortal.Web.PageNotFoundHttpModule - Referrer(https://intranet.idi.it/video-test.aspx)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/404notfound.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-26 11:36:26,449 ERROR 195.250.242.250 - it-IT - /Data/Sites/1/media/filmati/test-m4v.m4v - mojoPortal.Web.PageNotFoundHttpModule - Referrer(https://intranet.idi.it/video-test.aspx)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/404notfound.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

Any idea ?

bests Michele

 

3/26/2018 11:12:54 AM
Gravatar
Total Posts 2239

Re: can't play video

Hi,

Please complete this form to send us your login information related to this thread. You have been given access to this form for this thread only and access will be removed once we receive your information. We will respond on this thread with our results.

Thank you,
Joe

4/2/2018 10:07:13 AM
Gravatar
Total Posts 2239

Re: can't play video

Hi,

This problem was caused by a web.config file located inside of the Data folder. This configuration file was declaring a system.webServer section which overrides the root web.config system.webServer section. To fix the problem, I added the MIME types from the root website web.config to this web.config. 

Thank you,
Joe

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