Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

intermittent can not play video error

$
0
0

@Paul_Hagerty wrote:

Hello

I am very close to finishing my game, however I am getting to following problem

I have 2 videos in my game, one plays at the start and then another one if you win/finish the game

This videos always plays first time around, however the second (sometimes works), or 3rd 4th time I play the videos, i get the error

"can not play video"

I have tried creating and disposing the object of player and video in many different ways

I have reused one player to play both videos

i have used static player etc

I have tried having multi copys of the same video, its the player which faults

I see this was spoken about on the web a year of so ago, but nothing seemed to happen

any ideas ?

or does anyone know of another media player i can use with monogame

thanks

error details

  • $exception {"cannot start video"} System.InvalidOperationException
  • Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}

    HResult	-2146233079	int
  • TargetSite {Void Play(Microsoft.Xna.Framework.Media.Video)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}

Posts: 7

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles