Including FLV files in Windows Media Player 12 Video Library
My son has downloaded a variety of instructional FLV (Flash video) files that he wants to have available in Windows Media Player. Since we just installed Windows 7, he was having trouble figuring out how to make it work. He’d already installed the correct codec (ffdshow) so he was able to play the videos, but when he attempted to create a playlist of several of the videos, WMP wasn’t being cooperative. Gone is the Monitor Folder interface from previous versions an in its place is a dependence on Libraries in Windows 7. Sounds like a cool idea, but how do you get files to show up in WMP that show up in those folders?
It turns out Windows Media Player relies on some voodoo in the registry to get it to recognize FLV and MP4 files as video files. Copy the following text to a .reg file (e.g. ShowFlvInWmp.reg) and open it from Windows Explorer.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.flv] "PerceivedType"="video" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.flv] "PerceivedType"="video" "Permissions"=dword:0000000f "Runtime"=dword:00000007 "UserApprovedOwning"="yes" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS\Extensions] "flv"="video"
Note: If you are having trouble with MP4 files, you can modify the above registry file to replace flv with mp4.
Once you’ve done this, you need to kick Windows Media Player to rescan the folders.
- Right-click on Videos and select Manage video library.
- Select the folder to remove and click the Remove button.
- Click the OK button.
- Right-click on Videos and select Manage video library.
- Click the Add button.
- Select the folder you want to add and click the Include folder button.
- Click the OK button.
Doing this will cause Windows Media Player to rescan folders. Here’s another way to force a rescan:
- Press the Alt key to bring up the menu.
- Select Tools –> Apply Media Information Changes.
- You can close the dialog box by clicking the X in the upper right corner (don’t click the Cancel button) and it will run in the background.
Reflections
Windows Media Player hides a LOT of functionality from people who don’t fit into their “core usage scenarios.” It’s quite frustrating, in fact, as this kind of thing is a lot more common than Microsoft allows for. It’s issues like this that cause people to flee from WMP to other players. I tend to prefer WMP, but when I have to work so hard to get it to do what I need, I’m much more willing to try other solutions. Something for the folks at Microsoft to consider.
Caveat
ZachD from Microsoft makes the following statement:
Please don’t ever set UserApprovedOwning. That’s extremely reserved for my usage only.
It’s unsupported and deprecated. Please please do not set it. It’s not going to do anything “bad”, but :: that’s a user only setting that nobody but the WMP interfaces should be setting. Please.
WMP plays nice. =)
The problem is that if you don’t set that registry value, none of this works. If someone can show me a way to get Windows Media Player to show FLV files without setting that registry value, I’d sure appreciate it.
Resources
- WMP is not adding FLV, MP4 and other files to the library! @ Microsoft Discussion Groups
- How do I get WMP to rescan my media? @ Neowin Forums
- Play FLV Files in Windows Media Player @ SizzledCore.com
- PlayFLV




November 6th, 2009 at 9:37 am
David, I have tested this on my Windows 7 system, and WMP still added FLV files to the library when the UserApprovedOwning value didn’t exist. Don’t really know why you were experiencing something different.
November 6th, 2009 at 11:11 am
Hmm, strange. I’ll look at it again and see if I can get it to work without setting that registry value. Thanks for trying this out and for reporting back here.
November 6th, 2009 at 6:34 pm
I’ve tried this a few times. I can now get it to automatically add to the library… but it adds to the Other library and not the video library.
I’ve tripple checked everything and I have it all entered correctly.
November 7th, 2009 at 1:32 pm
Erl, are you running the 64-bit version of Windows 7? Another thing that I have noticed during testing, is that you need a different REG file for the 32-bit WMP 12 running on 64-bit Windows 7. Does the following REG file work for you? (remember to re-add the FLV files afterwards)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.flv]
“PerceivedType”=”video”
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Extensions\.flv]
“PerceivedType”=”video”
“Permissions”=dword:0000000f
“Runtime”=dword:00000007
“UserApprovedOwning”=”yes”
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\MLS]
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\MLS\Extensions]
“flv”=”video”
November 15th, 2009 at 9:28 am
I am using 64bit Win7. Adding those lines to the registry worked. Thanks
February 8th, 2010 at 12:46 pm
thanks David Potter……it really worked for me………….ppl. like u should be appreciated for the guidance n help u give…..once again thanks a lot……
imran khi/ pakistan.
March 21st, 2010 at 5:57 pm
Hi I am running Windows 7 64-bit with WMP 12. I have tried everything I can think of with ffdshow, but all I get is “Windows Media Player cannot play the file.” I’m sure it’s just me. Has anyone put together a step-by-step procedure for installing the software and getting it working?
I would greatly appreciate it.
Thanks,
Bob
March 30th, 2010 at 8:16 am
hello.. i did this but it didn’t help. i did exactly the same but when i play the videos(which i have downloaded from youtube), the windows media center becomes non- responsive.
Im running Win 7 ultimate on HP Core Duo 32 bit.