I freaking hate WPF
-
So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Christian Graus wrote:
Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?
erm, Microsoft?
MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
-
So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Give a try to http://videorendererelement.codeplex.com/[^] perhaps? And.. peace bro! ;P
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
I'm (un)certain you're right in principal
MVVM# - See how I did MVVM my way ___________________________________________ Man, you're a god. - walterhevedeich 26/05/2011 .\\axxx (That's an 'M')
-
So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
+1
-
Yet 100s of porn site seem to be able to pull off (ha ha, pull off) this kind of thing. Or so I'm told.
10 to 1 it's flash. (I wouldn't know for sure.)
-
Give a try to http://videorendererelement.codeplex.com/[^] perhaps? And.. peace bro! ;P
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
Thanks but we already have a DirectX one, it's the flicker and issues we had with that, that set me on this path.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
10 to 1 it's flash. (I wouldn't know for sure.)
It couldn't be WPF. The Silverlight control is far more complete ( although I'd suspect most porn sites had a system that worked before Silverlight existed, so why would they change it ? )
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
Yet 100s of porn site seem to be able to pull off (ha ha, pull off) this kind of thing. Or so I'm told.
_Josh_ wrote:
Yet 100s of porn site seem to be able to pull off (ha ha, pull off) this kind of thing. Or so I'm told.
You're right, so I shall have to commence extensive research into how they do it.
I wanna be a eunuchs developer! Pass me a bread knife!
-
_Josh_ wrote:
Yet 100s of porn site seem to be able to pull off (ha ha, pull off) this kind of thing. Or so I'm told.
You're right, so I shall have to commence extensive research into how they do it.
I wanna be a eunuchs developer! Pass me a bread knife!
-
So, the media control in WPF is close to useless. I've tried to wrap all the insane levels of code needed to track a play state, get notifications and be able to position the video AND get a callback when the position changes. It all works great, UNTIL I need to use two video controls, one to play the video, and one to play it fullscreen. Now, the videos sometimes stop when asked, and sometimes both keep playing. The positioning in fullscreen works only intermittently. The whole thing is basically, fundamentally broken. Who creates a media control in a media rich API that doesn't tell you it's state, or when it's position changes ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
"I freaking hate WPF" Well, at least it doesn't suck, eh?
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."