I develop an application that use VLCdotNET to create media player. Need to make an action that allow to click on video, the video can play or pause like a video on Youtube. Anybody has any solution? I tried to make event click on VLC but it's not working.
The sample application included with the library contains an example of how to accomplish what you are looking for: https://github.com/ZeBobo5/Vlc.DotNet/blob/master/src/Samples/Vlc.DotNet.Forms.Samples/Sample.cs
Related
I have been looking for a way to have audio/music play on an app if the screen is either off or the user is not on the mobile tab of the app.
At first I tried to mess with some audio settings, then I tried looking into some of the project settings. I found some settings relating to running in background, but none of those solved the problem.
Even just a C# script that can go with Unity's audio system to play it with out being on would help if I found it.
I have an application that can play online radios with the Windows Media Player. Now I wanted to add Youtube as a source aswell (videos only). I couldn't really find anything regarding to this. If it does not work with the WMP I am also free for any other ways.
What I tried so far was setting the URL of the WMP to the following values:
https://www.youtube.com/watch?v=ID
https://www.youtube.com/v/ID
Both of them without any success.
Note: I only need the audio not the video itself.
I just started using Gtk# with MonoDevelop on Raspbian, and i need to enable video playing in my application. I was thinking of making a widget (or use an existing one) to add to my window. Found some documentation on MPlayer but could not get it to work.
To rephrase my question, the task is just for my app to play a video, that could also be done by opening up a new window and playing it there.
After installing Omxplayer, since Mplayer was too slow, i did some research and found a simple solution that suited my needs. Calling the Omxplayer as a process before the initialisation of my app:
System.Diagnostics.Process.Start("omxplayer", "testVideo.mp4");
By default the video is played fullscreen, which was also what i was looking for.
I want to make an interactive trainer for a BIG program. Instead of just making video tutorials, I was thinking to make the videos in camtasia, and edit them with flash. After the videos are ready, I want to upload them to my server, and the C# application should load the flash videos from my server.
I found the solution of adding flash videos to C# with the axShockwaveFlash control.
I can load videos from youtube for example like:
axShockwaveFlash1.Movie = "https://www.youtube.com/v/N6O2ncUKvlg";
But if I have the flash videos to my server like http://mywebsite.com/intro.flv how can I load them ?
I guess I need to set them in a player or something like that.
Another idea would be to just make the videos in camtasia, and export them to "web" directly from camtasia. But still, don't know how to tell the control to load it.
I just want to make this, so that it will be a little harder to download the videos. I know they can be easily downloaded also in this way, but it's more safer than just uploading them to youtube.
Here is an extended article on how to load flash in a WinForms application
In short:
Add toolbox reference to COM Component Shockwave Flash Object (found in C:\Windows\System32\Macromed\Flash)
Add control Shockwave Flash Object to Form
Set property Movie: [control].Movie = "[path]\animation.swf";
Start movie: [control].Play();
I realize there is a similar question to this, but it really has no information in it. I want to retrieve the currently playing song title (similar to MSN Messenger) within a C# app. The Windows Media Player I want to control is EXTERNAL- that is, it is running on the computer, not within the app. Anyway to do this?
I think I may have found a way around my problem- a simple solution is to install a plugin that tells you the current playing song and writes it to a file and you can read it through your program.