I've been learning wpf, In the use of  MediaElement Appoint Source When playing video , In the source interface can be normal display , But the runtime control is blank .

The source code interface is shown below :( It can display normally )

After operation, as shown in the figure below :( Control position display blank )

Appoint Source The full path of the video file can be played normally .

The solution is :

Set the video file properties to “ If newer, copy ” After the solution , As shown in the figure below :

After modification , Startup and operation , Problem solving .

WPF Of MediaElement Appoint Source Can't play more articles about problem solving

  1. Wpf in MediaElement Loop Playback

    original text :Wpf in MediaElement Loop Playback I did a project some time ago , It involves the circulation of media files , I read a lot of examples on the Internet , It's all in xaml Add as MediaElement Add one TimeLine, No ...

  2. In depth understanding of MVC C#+HtmlAgilityPack+Dapper A wave of reptiles StackExchange.Redis Secondary packaging C# WPF use MediaElement Control to achieve video loop playback net Asynchronous and synchronous

    In depth understanding of MVC   MVC No one knows , But a lot of programmers are interested in MVC There seems to be a mistake in understanding the concept of , In other words, they have been misusing MVC, Even so, software can be written , However, the organization of software internal code is unscientific , This will affect the maintainability of the software ...

  3. stay wpf How to make MediaElement The video loop of

    original text : stay wpf How to make MediaElement The video loop of MediaElement The original play was just once : How to set let MediaElement Play Video or audio looping through , The solution is as follows : modify Media ...

  4. C# WPF use MediaElement Control to achieve video loop playback

    stay WPF In the use MediaElement Control , Implementation of a single video loop program , At the same time, you can control the video playback . Pause . stop it . One way , Use MediaElement.MediaEnded event , At the end of the video , Automatically ...

  5. MediaElement Video control : Play 、 Pause 、 stop it 、 back off 、 Fast forward 、 Jump 、 The volume

    /* =================================================  * Author:     Micro  * Date:       2016=03-25 ...

  6. H5 New applications for - Specify the playback progress of the video

    <!DOCTYPE html> <html> <head> <title> Specify the playback progress of the video </title> <meta http-e ...

  7. WPF Use MediaElement Show gif picture

    original text :WPF Use MediaElement Show gif picture Copyright notice : This article is an original blog article , No reprint without the permission of the blogger . https://blog.csdn.net/SANYUNI/article/details ...

  8. encapsulation :WPF be based on MediaElement Packaged video player

    original text : encapsulation :WPF be based on MediaElement Packaged video player One . Purpose : application MediaElement Create a media player Two . design sketch 3、 ... and . The current support features Play . Pause . stop it . Fast forward . Fast back . The sound is loud . Add a play list ...

  9. WPF Programming , Specify the window icon 、 Window title , A way to make the taskbar display the window icon in the running state .

    original text :WPF Programming , Specify the window icon . Window title , A way to make the taskbar display the window icon in the running state . Copyright notice : I don't make code , I'm just a code Porter . https://blog.csdn.net/qq_4330793 ...

Random recommendation

  1. Sorting algorithm (JAVA)

    import java.util.Random;      /**  * Sort test classes  *   * Sorting algorithms are classified as follows :  * 1. Insertion sort ( Direct insert sort . Binary Insertion Sort . Shell Sort ):  * 2. Exchange row ...

  2. [Tool] SourceTree initialization GitFlow Encounters an error (git command not found) Solutions for

    [Tool] SourceTree initialization GitFlow Encounters an error (git command not found) Solutions for Problem scenario Use SourceTree, It is convenient for developers to apply it quickly GitFlow Development ...

  3. JPA and hibernate The relationship between

    actually ,JPA The standard customization is hibernate The author participates in the customization of , therefore JPA yes hibernate An assembly of , It's understandable

  4. Java Socket Programming ---- Communication is tempered in this way

    Java It first appeared as a network programming language , It provides a high degree of support for the network , Make the communication between client and server become reality , And in network programming , The most used is Socket. As you are familiar with QQ.MSN It's all used Socket Related technologies . ...

  5. scala Basic language learning II

    Use yield And functional programming to convert arrays Algorithm case ( Remove all negative numbers after the first negative number ) Improving the University Program

  6. java Process status

    A thread state. A thread can be in one of the following states: NEWA thread that has not yet started ...

  7. Rsyslog To configure

    http://blog.itpub.net/30015039/viewspace-1457009/

  8. C++ Union Ingenious use ( Use list initialization for array elements )

    Union It's an unnoticed keyword , It means union , It's a weird name . If it's not for inheritance C Language , And it won't appear in C++ in ( although ,union stay C++ It's expanded in , Complete the function of approaching class ). Its main function is to save memory space , Embedded in ...

  9. ELK- First time to know Elasticsearch

    Chapter one : First time to know Elasticsearch 1. install Elasticsearch requirement java8+ Environment , Recommended Oracle 1.8.0_131 Version of JDK.Java JDK The installation of is not described here . here ...

  10. MDK Some small applications of

    One :MDK Generate bin file Options( Magic wand )  ->  User  ->  After Build/rebuild  ->  Run#1( Tick ahead ) ( Enter a paragraph in the following box ) ...