# HOW TO: Fix - Can't Play Videos on app or Modern IE

## Recommended Posts

This is relevant for both the Windows 8.1 MB app and modern Internet Explorer. I would like to note that this also applies to anyone that uses any video playback app from the Windows app store such as the third party youtube apps where video is not being played back as well.

Error Description

Internet Explorer

Windows 8.1 MediaBrowser App

If you are receiving an "Invalid source" or a "The Video failed to play." message when attempting to play an item it might be that Microsoft's Video Decoder is disabled or the AAC decoder is not set to "Microsoft".

NOTE: If you are only experiencing issues with Internet Explorer make sure you have installed the WebM plugin first and test video playback. If the problem persists, continue with the instructions.

Instructions

2. Click "Ms Codec Tweaks"

3. Uncheck the two check boxes listing "Microsoft DTV-DVD Video Decoder" as shown in the image (one for 64-bit depending on the version of Windows you may have)

4.Click "Apply & Close" and now go to "Preferred decoders"

5. Select "Microsoft" for the AAC decoder on both 32-bit and 64-bit

6. Close and restart the apps (MB/IE) to reflect the changes made and then attempt to play item.

Other Possible Fixes (updated)

1. Update Audio Drivers for your device
Thanks to @@buhusky for discovering this one. In this case the Lenovo Yoga 13 tablet/laptop needed updated drivers.
"I decided to upgrade my drivers even though windows was telling me I was up to date and everything was working fine and looked good in the device manager.  I started with my audio driver, rebooted, and tested.  Viola! Everything works now."

2. Update Video Drivers for your device
Based on the buhusky's discovery, video drivers should be updated as well for instance the NVIDIA drivers includes the NVIDIA HD Audio which is used for HDMI pass-through for those devices that use them.

3. Is "Enable alternative codecs in HTML5 media elements" already checked?
Thanks to @@WWWestern for contributing this find.

• 4
##### Share on other sites

Thank you so much for writing this. I'm going to put a link in the web client error message that points to this.

One suggestion though - can you change the images to show what the settings should be, rather than what they should not be? Many users won't bother to read the notes and will just look at the images. Thanks!

• 2
##### Share on other sites

Okay I changed the image on step 3 to show how it should be, that should do it I hope. Added indentations and headers as well to make it easier to find the sections. Any more suggestions welcomed.

##### Share on other sites

This did not work for me on Window 8.1.  I'm imaging the machine back to Windows 8 and I'll let you know if I have the same result when attempting to play via IE.

##### Share on other sites

In the Win7DSFilterTweaker tool if you click on Media Foundation, are any of those options checked?

##### Share on other sites

No, there is nothing checked.  Is that bad?

##### Share on other sites

No, there is nothing checked.  Is that bad?

No it is not bad. Just making sure. Was tinkering with ways to break playback of the MB app and IE to see what could be different in your particular codec setup.

##### Share on other sites

So I just tried to go to jwplayer.com and play the sample video on the main page and it also errors out.  Could this be an html5 issue?

##### Share on other sites

So I just tried to go to jwplayer.com and play the sample video on the main page and it also errors out.  Could this be an html5 issue?

What was the error you get? I was able to break the jwplayer using the settings from the second image below. Problem is you already have those unchecked which is how it should be.

These settings break JWPLAYER

##### Share on other sites

Yes, that is the message I got.  I've disabled and enabled and it still doesn't work.  Any ideas?  Do I not have the codecs I need?  Don''t they come with Windows 8?  I installed VLC player....could that have messed anything up?

##### Share on other sites

VLC player has its own built-in codecs which is not shared with other apps so it should not have any effect on IE/MediaBrowser/JWPlayer. Yes Windows should already have the necessary codecs to playback HTML5 video content.

Curious, are you using a Windows 8/8.1 N or KN version by any chance? I ask this because these are versions of windows that were shipped in some parts of Europe that do NOT have the default microsoft codecs installed. Since I am not sure of your location I have to ask.

##### Share on other sites

No, I'm running the US version of Windows 8.1 Pro.  How do I reinstall the codecs?  Maybe we could start there?

##### Share on other sites

No luck with those two suggestions.  After trying your suggestions, I rolled back from Windows 8.1 to my 8.0 image an everything works fine using IE.  It's definitely something with the upgrade to 8.1.  Now....what that could be could take some looking into.  Any suggestions since you know more about this video stuff than I do?

##### Share on other sites

I'm going to take a look at my drivers after upgrading to 8.1 again to make sure things are in order.  Do you think that could cause any issues?  I didn't think about it initially because things seemed to work fine in chrome.  Just so you know, the goal here is get the Media Browser App to work.

##### Share on other sites

Based on the information you have given I am assuming you have not installed shark007, K-Lite, CCCP or Lav Filter codecs? If you have been using MediaBrowser Theater, it installed LAV filters. The thing is though none of these codec packs are necessary to playback HTML5 video on IE or the mediabrowser app, the default microsoft codecs should handle that. There seems to be an underlying issue occurring here.

If by the chance that the microsoft codecs are somehow corrupted you could try the following. Please make sure to have a backup in case windows blows up. I would try the first option and then if that still does not fix it, proceed to the last option.

Repair System Files

1. Press (Windows key+S) and type "command prompt" in the search box. Right click the result and click "Run as administrator"

2. Type sfc /scannow and press enter

3. Reboot after completion and test.

Reinstall Default Media Player

1. Press (Windows key + S) search for "windows features" and click on the result.

2. "Media Features" contains Media Center and Media Player. (WARNING: This will uninstall Media Center if you have that installed but will reinstall it afterward)

1. UNCHECK "Media Features" and reboot.

2. Go back to "Windows Features" and this time CHECK "Media Features" then reboot.

3. Test

##### Share on other sites

Yeah at this point I would recommend doing the Windows 8.1 upgrade from Windows 8. Once you do that make sure to install all the windows updates as well. If the upgrade still produces video playback errors then I would recommend doing a windows refresh. I have come across situations with Windows 8 upgrades where some apps simply don't behave correctly or certain apps don't have the appropriate permissions in place in the registry so things simply don't work as they should. In those cases when you don't want to waste so much time pulling your hair trying to fix the issue it is more efficient to simply do a refresh or format and reinstall everything.

The goal as you said is to make Media Browser app work and even though we are testing JWPLAYER or MediaBrowser on modern internet explorer, they are related at the basic level. Since those use microsoft's "media foundation" codecs just like the other video modern apps in the windows store. It might seem irrelevant but if we can get jwplayer and MediaBrowser on modern Internet Explorer playing videos then very likely playback should work on the MediaBrowser app.

##### Share on other sites

Is WEBM component for IE11 installed?

Is enabled alternative codecs for HTML5?

• 1
##### Share on other sites

My issue has been solved.  After going back to my previous Windows 8 image and upgrading to 8.1, it still didn't work.  I decided to upgrade my drivers even though windows was telling me I was up to date and everything was working fine and looked good in the device manager.  I started with my audio driver, rebooted, and tested.  Viola! Everything works now.

For those of you that might be having the same issue, I was having the issue on my Lenovo Yoga 13 tablet/laptop.  I upgraded the Conexant Audio Driver for Microsoft Windows 8 (64-bit) to version 8.54.47.51 which was released on Oct. 22, 2013 (the latest will probably work for you).  The file is located at http://download.lenovo.com/consumer/mobiles/0tau20ww.exe.  I assume this might be the case for some that don't have a Lenovo so try updating your drivers first.

I would like to thank you for all your help and getting me to this point.  It is greatly appreciated.  IE and the Media Browser app is working great now.

• 2
##### Share on other sites

@@buhusky and @@WWWestern I have added your findings to the initial post so it can help anyone experiencing similar issues. Credited to you both of course. Thanks.

##### Share on other sites

if the webm plugin is part of the fix can the first post make it clear that it's recommended to install it? thanks.

##### Share on other sites

if the webm plugin is part of the fix can the first post make it clear that it's recommended to install it? thanks.

Changes made to make it the first fix before attempting all other instructions.

##### Share on other sites

After reinstalling 8.1, I did not install the webm plugin.  So in my particular case, the audio driver was the fix.

##### Share on other sites

Yeah what Luke meant is if it's part of the possible "fixes" to include it more clearly in the first post. For some users experiencing issues on IE, the webm plugin is a possible fix.

Glad things got sorted out for you buhusky.

##### Share on other sites

• 1 month later...

I'm running on Windows 7 with IE11 and after trying everything suggested in this post I am still getting Invalid Source error. If anyone has additional suggestions I would appreciate it.

Thanks!

##### Share on other sites

Using IE 11 under Windows 7. I went through the first post and even though everything was set as specified, still can't play video.

Here is the complete log of an attempted playback:

2014-03-08 10:41:12.4507 Info - App: LogFileWebSocketListener stop transmitting over websocket to 127.0.0.1:49862
2014-03-08 10:41:29.3697 Debug - SessionWebSocketListener: Received PlaybackStopped message
2014-03-08 10:41:29.3697 Debug - HttpServer: HTTP DELETE http://localhost:8096/mediabrowser/Videos/ActiveEncodings?deviceId=1438d1d4b2c6f4fea7ea1f56486e809313065776
2014-03-08 10:41:29.3697 Debug - HttpServer: HTTP Response 204 to 127.0.0.1:55650. Response time: 3.0001 ms
Url: http://localhost:8096/mediabrowser/Videos/ActiveEncodings?deviceId=1438d1d4b2c6f4fea7ea1f56486e809313065776
2014-03-08 10:41:29.3757 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/dashboard/
2014-03-08 10:41:29.3757 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
Value cannot be null.
Parameter name: path
System.ArgumentNullException
at MediaBrowser.Common.Net.MimeTypes.GetMimeType(String path)
at MediaBrowser.WebDashboard.Api.DashboardService.Get(GetDashboardResource request)
at lambda_method(Closure , Object , Object )
at ServiceStack.Host.ServiceRunner1.Execute(IRequest request, Object instance, TRequest requestDto)

2014-03-08 10:41:29.3757 Error - HttpServer: Error processing request for /mediabrowser/dashboard/
Value cannot be null.
Parameter name: path
ServiceStack.HttpError
No Stack Trace Available

2014-03-08 10:41:29.4277 Debug - HttpServer: HTTP Response 400 to 127.0.0.1:55650. Response time: 52.003 ms
Url: http://localhost:8096/mediabrowser/dashboard/
2014-03-08 10:41:32.4998 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/Users/a6173c7828522d215ff32571abd54f2b/Items/d3b8d31f5ad968afe3d440e024b3b967?_=1394303992496
2014-03-08 10:41:32.4998 Debug - HttpServer: HTTP Response 200 to 127.0.0.1:55649. Response time: 3.0001 ms
2014-03-08 10:41:32.5288 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/Videos/d3b8d31f5ad968afe3d440e024b3b967/stream.webm?audioChannels=2&StartTimeTicks=0&SubtitleStreamIndex&AudioStreamIndex=2&deviceId=1438d1d4b2c6f4fea7ea1f56486e809313065776&Static=false&VideoCodec=vpx&AudioCodec=Vorbis&maxWidth=720&videoBitrate=872000&audioBitrate=128000
2014-03-08 10:41:32.5288 Info - App: C:\Users\Wayne\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140304\ffmpeg.exe -fflags genpts -i file:"\\WAYNE-PC\media\movies\Shorts\Big Buck Bunny\big_buck_bunny_1080p_h264.mov" -map 0:0 -map 0:2 -map -0:s -vcodec libvpx -force_key_frames expr:if(isnan(prev_forced_t),gte(t,.1),gte(t,prev_forced_t+5)) -vf "scale=min(iw\,720):-1" -speed 16 -quality good -profile:v 0 -slices 8 -crf 10 -b:v 872000 -r 23.976 -vsync vfr -map_metadata -1 -threads 2 -acodec libvorbis -ac 2 -ab 128000 -af "adelay=1,aresample=async=1,volume=2.000000" "d:\\media\transcoding-temp\a7ab45e2-eb57-304e-fef4-d5ef1c35a248.webm"
2014-03-08 10:41:33.1509 Error - App: Error streaming media
The specified network name is no longer available
System.Net.HttpListenerException
at System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult)
at System.IO.Stream.<BeginEndWriteAsync>b__17(Stream stream, IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncTrimPromise1.Complete(TInstance thisRef, Func3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.IO.Stream.<CopyToAsyncInternal>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<StreamFile>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<WriteToAsync>d__0.MoveNext()

2014-03-08 10:41:33.1509 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/Videos/d3b8d31f5ad968afe3d440e024b3b967/stream.mp4?audioChannels=2&StartTimeTicks=0&SubtitleStreamIndex&AudioStreamIndex=2&deviceId=1438d1d4b2c6f4fea7ea1f56486e809313065776&Static=false&profile=baseline&level=3&maxWidth=720&videoBitrate=872000&audioBitrate=128000&VideoCodec=h264&AudioCodec=aac
2014-03-08 10:41:33.1509 Debug - HttpServer: HTTP Response 500 to 127.0.0.1:55649. Response time: 624.0357 ms
2014-03-08 10:41:33.1509 Info - App: C:\Users\Wayne\AppData\Roaming\MediaBrowser-Server\ffmpeg\20140304\ffmpeg.exe -fflags genpts -i file:"\\WAYNE-PC\media\movies\Shorts\Big Buck Bunny\big_buck_bunny_1080p_h264.mov" -map 0:0 -map 0:2 -map -0:s -vcodec libx264 -force_key_frames expr:if(isnan(prev_forced_t),gte(t,.1),gte(t,prev_forced_t+5)) -vf "scale=min(iw\,720):trunc(ow/a/2)*2" -preset superfast -crf 20 -maxrate 872000 -bufsize 1744000 -r 23.976 -vsync vfr -profile:v baseline -level 3 -map_metadata -1 -threads 2 -acodec aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1,volume=2.000000" -f mp4 -movflags frag_keyframe+empty_moov "d:\\media\transcoding-temp\b3f621a0-98b2-192a-bb27-532c58df0327.mp4"
2014-03-08 10:41:34.2999 Error - App: Error streaming media
The specified network name is no longer available
System.Net.HttpListenerException
at System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult)
at System.IO.Stream.<BeginEndWriteAsync>b__17(Stream stream, IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncTrimPromise1.Complete(TInstance thisRef, Func3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.IO.Stream.<CopyToAsyncInternal>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<StreamFile>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at MediaBrowser.Api.Playback.Progressive.ProgressiveStreamWriter.<WriteToAsync>d__0.MoveNext()

2014-03-08 10:41:34.2999 Debug - HttpServer: HTTP Response 500 to 127.0.0.1:55654. Response time: 1151.0658 ms
2014-03-08 10:41:34.3059 Info - App: Killing ffmpeg process for d:\\media\transcoding-temp\a7ab45e2-eb57-304e-fef4-d5ef1c35a248.webm
2014-03-08 10:41:34.3409 Info - App: FFMpeg exited with code -1 for d:\\media\transcoding-temp\a7ab45e2-eb57-304e-fef4-d5ef1c35a248.webm
2014-03-08 10:41:34.3529 Info - App: Deleting partial stream file(s) d:\\media\transcoding-temp\a7ab45e2-eb57-304e-fef4-d5ef1c35a248.webm
2014-03-08 10:41:35.3070 Info - App: Killing ffmpeg process for d:\\media\transcoding-temp\b3f621a0-98b2-192a-bb27-532c58df0327.mp4
2014-03-08 10:41:35.3220 Info - App: FFMpeg exited with code -1 for d:\\media\transcoding-temp\b3f621a0-98b2-192a-bb27-532c58df0327.mp4
2014-03-08 10:41:35.3220 Info - App: Deleting partial stream file(s) d:\\media\transcoding-temp\b3f621a0-98b2-192a-bb27-532c58df0327.mp4
`
Same video plays fine in Chrome. Edited by Wayne Luke