
Quote from donbwalker on February 21, 2020, 10:36 pmCan't find what types of videos the Media Player works with. Or.....How to play an MP4 video in VisualNeo?
thanks
Don
Can't find what types of videos the Media Player works with. Or.....How to play an MP4 video in VisualNeo?
thanks
Don

Quote from mazzu001 on February 22, 2020, 12:40 amThere isn't exactly a direct way to do this with a media player object. I am pretty sure you can only use .avi and .mpeg with the Media Player object. However its easy to accomplish.
Add a WebBrowser Object and a Button to your project. You can leave the web browser objects url blank. In the button use the BrowserLoadFromStr action and use something like this
<video width="400" height="240" controls> <source src="C:\Users\mazzu\Videos\4K Video Downloader\test.mp4" type="video/mp4"> </video>Should work. Of course when you compile your application and distribute it, you will have to package any used videos manually (unless you just upload them to YouTube and use that url instead of the file location in the example above, which is what I would do).
To use a YouTube video you would do the same as above but in the BrowserLoadFromStr code put the code youtube gives you (which you can get from the YouTube page of the video with Share / Embed)
The WebBrowser Object can accomplish a lot of your multimedia needs with some simple html like above.
Hope that helps
If you desire more control over the video in your project you can easily incorporate some script like this
<video id="myvid" width="400" height="240"> <source src="C:\Users\mazzu\Videos\4K Video Downloader\test.mp4" type="video/mp4"> </video> <script> var vid = document.getElementById("myvid"); vid.autoplay = true; vid.load(); </script>There is an excellent resource for this here
There isn't exactly a direct way to do this with a media player object. I am pretty sure you can only use .avi and .mpeg with the Media Player object. However its easy to accomplish.
Add a WebBrowser Object and a Button to your project. You can leave the web browser objects url blank. In the button use the BrowserLoadFromStr action and use something like this
<video width="400" height="240" controls> <source src="C:\Users\mazzu\Videos\4K Video Downloader\test.mp4" type="video/mp4"> </video>
Should work. Of course when you compile your application and distribute it, you will have to package any used videos manually (unless you just upload them to YouTube and use that url instead of the file location in the example above, which is what I would do).
To use a YouTube video you would do the same as above but in the BrowserLoadFromStr code put the code youtube gives you (which you can get from the YouTube page of the video with Share / Embed)
The WebBrowser Object can accomplish a lot of your multimedia needs with some simple html like above.
Hope that helps
If you desire more control over the video in your project you can easily incorporate some script like this
<video id="myvid" width="400" height="240">
<source src="C:\Users\mazzu\Videos\4K Video Downloader\test.mp4" type="video/mp4">
</video>
<script>
var vid = document.getElementById("myvid");
vid.autoplay = true;
vid.load();
</script>
There is an excellent resource for this here

Quote from Vadim on February 22, 2020, 8:24 pm@donbwalker
The zmVLC plugin works well with mp4:
zmVLC 0.1b (Пётр Павлов)
Download from the link (Together with the necessary libraries): http://pc.cd/VDn7
The zmVLC plugin works well with mp4:
zmVLC 0.1b (Пётр Павлов)
Download from the link (Together with the necessary libraries): http://pc.cd/VDn7




Quote from Krakerman on November 22, 2021, 4:49 pmWould be nice if one of the current plugin developers made a VLC and a WMP plugin for VNW. This would be a nice addition
Would be nice if one of the current plugin developers made a VLC and a WMP plugin for VNW. This would be a nice addition

Quote from Krakerman on November 22, 2021, 6:15 pmI use PowerPoint to create some animations and save as a mp4 and be nice to play within an object.
I use PowerPoint to create some animations and save as a mp4 and be nice to play within an object.

Quote from albertomeyer on November 22, 2021, 7:51 pmI have a very functional VLC plugin in my project folder for Neobook. It would need a few touches, a few. If there was greater interest, I could launch.
I have a very functional VLC plugin in my project folder for Neobook. It would need a few touches, a few. If there was greater interest, I could launch.

Quote from Krakerman on November 22, 2021, 7:55 pmVLC and WMP are 2 things I am very much interested in and wanting. Surprised nobody has done a plugin for that as mp4's are very common place today.
VLC and WMP are 2 things I am very much interested in and wanting. Surprised nobody has done a plugin for that as mp4's are very common place today.
Quote from mishem on November 22, 2021, 8:11 pmQuote from Krakerman on November 22, 2021, 7:55 pmVLC and WMP are 2 things I am very much interested in and wanting. Surprised nobody has done a plugin for that as mp4's are very common place today.
Quote from Krakerman on November 22, 2021, 7:55 pmVLC and WMP are 2 things I am very much interested in and wanting. Surprised nobody has done a plugin for that as mp4's are very common place today.

Quote from albertomeyer on November 22, 2021, 8:16 pmLast version of the VLC plugin shown 2014. It is very old. Does he play videos straight from YouTube too?
Last version of the VLC plugin shown 2014. It is very old. Does he play videos straight from YouTube too?
Quote from mishem on November 22, 2021, 8:24 pm@albertomeyer
Does he play videos straight from YouTube too?
Used to play, now I don't know. Haven't used it in a while.
Last version of the VLC plugin shown 2014. It is very old.
I hope it still works in 30 years. :)
Does he play videos straight from YouTube too?
Used to play, now I don't know. Haven't used it in a while.
Last version of the VLC plugin shown 2014. It is very old.
I hope it still works in 30 years. :)

Quote from Krakerman on November 22, 2021, 8:33 pmI totally forgot about NeoDX. Yes that plugin plays MP4's just tested it :)
I totally forgot about NeoDX. Yes that plugin plays MP4's just tested it :)

Quote from DaviddeArgentina on November 23, 2021, 12:13 amNeoMediaPlayer Plugin
NeoMediaPlayer Plugin
Uploaded files:Quote from mishem on November 23, 2021, 12:21 amQuote from DaviddeArgentina on November 23, 2021, 12:13 amNeoMediaPlayer Plugin
I forgot about yours. :)
Now with this database can be found any plugin.
Quote from DaviddeArgentina on November 23, 2021, 12:13 amNeoMediaPlayer Plugin
I forgot about yours. :)
Now with this database can be found any plugin.

Quote from rcohen on November 26, 2021, 12:32 amI bet a good LightBox plugin with HTML ability could be put to good work with both, local and remote media. I hear rumors of one coming down the pike ;-)
I bet a good LightBox plugin with HTML ability could be put to good work with both, local and remote media. I hear rumors of one coming down the pike ;-)

Quote from fkapnist on January 10, 2022, 8:30 pmVLC is okay but it is a rather large file and slow to open (it has playlists etc.,)
I discovered that the new open source mpv player will embed in a rectangle and it will play any media file without crashing..
VLC is okay but it is a rather large file and slow to open (it has playlists etc.,)
I discovered that the new open source mpv player will embed in a rectangle and it will play any media file without crashing..