.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

WPF issues playing WMV video in Internet app

Posted By:      Posted Date: October 10, 2010    Points: 0   Category :WPF
I have a WPF website app. I loaded a mediaelement and played a WMV video. I published the website but I can only see the video play from my machine via the website. I suspect it's just playing off the local drive? From any other computer it simply doesn't play, no errors.

View Complete Post

More Related Resource Links

Playing video files in sharepoint

I uploaded Media file in sharepoint site. When click on video file, Windows media player open in my machine and got an error saying "Windows media player encountered a problem while playing a file". I have the same file in my local machine. It is playing fine. Only I have from sharepoint site.   Can some explain and solve the problem please? ItsMeSri

No sound when playing MPEG video in MediaElement

Hi, I am writing a multimedia centre using the WPF MediaElement control, the project is very mature and going really well. However I get no audio when my player plays a .MPG file. I have tried installing lots of different codec packages on my test machine but to no avail. The same files have audio when loaded in WMP but not in my WPF application. I am developing on an XP machine and on that I get sound, but on my target machine, Windows 7, no sound! Other formats such as AVI etc do not have this problem. Any ideas? Thanks in advance

Playing video's in an asset library

Hi, I've got an asset library with a bunch of video's in it. The aim is to get the videos playable in the browser. I see two possible ways to do this ootb with SharePoint 2010: a) create a corresponding publishing page for each video, add a media player web part and connect it to the video. As far as i can determine it appears as though you can't dynamically switch the source of the webpart so you need multiple webparts/pages to display all the videos, which i find abit messy. b)use the option built into the asset library where when you hover over a video you get the option to play. This method fits perfectly however when i click play, the video player stretches the video and distorts it (and also makes it run more sluggishly), and i can't seem to find a way to tell it what size to play the video at. I've used a 'Video' content type and set the 'Frame Height' and 'Frame Width' fields however it doesn't change anything. So there are 2 questions: 1) Is there any way to control the size of the player launched from the asset library? 2) Is it possible to dynamically change the source of media player webpart? e.g. webpart connection to an asset list or something along these lines?   Thanks in advance

Issues in Accessing a Document Library from Internet


Hi All,

I have created a Document Library in My portal. I am able to access, create and upload document when I am in connecting to the portal from my office (Intranet).

I am able to access the Document Library when I am connecting using Internet (external). But I am not able save Documents into Document Library. I am getting Below error Message.

"Documents in this folder are not available. The Folder May have been moved or deleted, or Network porblems may be preventing a connection to the server".

I am using Microsoft ISA as proxy server.

Please suggest me what might be wrong.



Microsoft WPF options for playing HD Video?

I'm writing a WPF app that needs to play HD video. As others have found MediaElement does not cope easily with HD. Windows Media Player on my machine plays the (.wmv) HD file smoothly and GraphEdit plays the file smoothly both by default and when I use EVR.

When using GraphEdit with both renderers my CPU barely goes above 30%.

When I play this video in my WPF app I barely get 3fps and it's simply unusable. I get similar non-performance when using MediaPlayer.

I know there's WPF MediaKit but, no offense to Jeremiah, I'd rather not use a solution built by individuals for a core part of this application. I'm also looking at the WMP control but MediaElement/MediaPlayer fits so nicely in with data binding and with MVVM.

What is it that's causing the MediaElement to perform so badly, and is there anything that can be done about it?

Video (application/x-oleobject) not playing in Firefox,Chrome and Opera



I have a WebForm in which I need to play a video file (wmv, mpg or mpeg). Here is my code:

<object id="vid" width="320" height="240" 
style="position:relative; left:10;top:10;"
<param name="URL" value='<%=Session["videourl"]%>'/>
<param name="SendPlayStateChangeEvents" value="True" />
<param name="AutoStart" value="False" />
<param name="uiMode" value="full" />
<param name="PlayCount" value="9999" />

This works well in Internet Explorer. I get the little media player with its controls(play, stop, pause etc) and everything works fine. However, in Firefox (3.6.12), Opera, Chrome, I don't get anything, just a blank space where the media object should appear.

I did some googling and... the problem should be that, the object is an ActiveX control and only IE supports ActiveX, so thats why it only shows in IE. Well, can anyone give some suggestions to make this work in any browser (Firefox, Chrome, Opera)

Is there any way to stream live video caputre in silverlight 4 using udp over the internet??



Is there any way to stream bytes[] from webcam caputre device in silverlight 4 using udp unicast over the internet? As tcp protocol makes  live video streaming much slower. Any suggestion or help will be appreciated.


TreeSelector : playing with generics and type inference

create a generic way to define a selection starting from a tree of objects, the most simpler way as possible.

Let's start with the beginning...
Here is a very simple little interface defining a node of the tree, basically, a value and the references to the child nodes.

Playing with Linq grouping: GroupByMany?

One of its features is grouping. Many people understand grouping like it is defined in Sql. Linq is implementing grouping quite the same way. Let's discover this syntax and how to make consecutive groups easier.

MOSS 2007 Tutorials video

This link about how create sharepoint website ,blogs,team site,document lib etc

How to Encrypt and Decrypt a Password using SQLSERVER 2005?(Video)

Encypt and Decrypt a Password using SQLSERVER 2005(Video)

SQL Server Backup and Restore (video)

Restore your full backup, then run a few queries before you keep restoring transaction logs. Brent shows how to use the Standby option for restores.

In this five minute video, Brent demonstrates how to do it by creating a database, populating data, and then showing what disaster recovery is like by doing RESTORE WITH STANDBY.

Play video


Hi to all 

 I have asp.net 2.0 & VS 2005. I want to play a video file in my web application, is there any control for this else help me how to play video in browser. Is this complex ?

video tutorial link for composite and rendered custom server control


hii all

i am new to technology so go easy on this post

according to what i read from web there are 3 type of custom server controls

1 superclass

2 composite

3 rendered

i found video tutorial for superclass custom server control but couldnt find video tutials for other 2.

please forward me link for composite and rendered custom server controls video tutorial  

require Video tutorial for Composite server control and rendered server control


hi guys

i am new to forum and technology so please go easy

according to what i read from web there 3 types of custom server controls

1. composite



i found video tutorial to create and use superclass custom control in your project (extending dropdown control functionality)

i am trying to search video tutorial for other 2 types .please help me.

IE 8 Issues with Chinese/Japanese Characters


On my web application, I display information in different languages. Everything works fine in IE compatibility mode and FireFox but it shows boxes for chinese/japanese languages. I am pretty much having the same issue as described here



Thanks for your help.

How to take a snapshot pic from a (.mp4/.3gp) video file ?


Hello there,

I need some help with video embedding in ASP.NET. So I am developing a litle custom blog and I need users to upload Quick Time videos (.mp4,.3gp) but I also need when upload completes to take a snapshot from the uploaded video which should be used as a link to a page that plays the video, in other words I need to take a frame from this video file... Do you have any idea how this is possible??

Thanks in advance

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend