Skip to content

A simple video player for MagicMirror in which you provide the videos. Including your own homemade videos. Now easier user configurations!

Notifications You must be signed in to change notification settings

Komufi/MMM-MyVideoPlayer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-MyVideoPlayer

A simple video player for MagicMirror in which you provide the videos. Home videos included!

The MMM-MyVideoPlayer module is a 3rd Party Module of the MagicMirror2

Screenshots

ScreenShot of poster

ScreenShot of button #1

ScreenShot of button #2

ScreenShot of button #3

ScreenShot of button #4

ScreenShot of button #5

ScreenShot of button #2

ScreenShot of button #3

ScreenShot of button #4

ScreenShot of button #5

Using the module...

To use this module, add it to the modules array in the 'config/config.js' file:

modules: [
	{
	disabled: false,
	module: "MMM-MyVideoPlayer",
	position: "middle_center",
	config:
	    {
		initialLoadDelay: 5150,
		videoDir: "videos",
		posterDir: "posters",
		posterSize: {width:45, height:25},
		menuDirection: "row",
		playerSize: {width:480, height:270},
		playerBackground:"MVPsplash.png"

	    }
	},
    ]

Install...

cd ~/MagicMirror/modules git clone https://github.com/justjim1220/MMM-MyVideoPlayer.git cd MMM-MyVideoPlayer npm install

Configurations...

can add as many videos as you like. (don't have to have 9 as per the example shown) ** All videos must be placed in the videos directory & All posters must be placed inside the posters directory ** the player will show the buttons in the order of how thery are in the poster dirsctory. 0 through 9, or a,b,c (recommended). video names should coincide with the button names. (IE: video - a.mp4 / poster - a.jpg) may need to adjust the sizes of buttons - width of video player divided by number of buttons then subtract a few px's for space in between them.

Hope you all like it!

========================================================================================================================================

Acknowledgements...

for @Sputnik & @remylpat for reqesting to have this module created!!!

I want to thank @cowboysdude, as I got the basic idea from one of his modules!!!

And, @sdetweil for giving me hints on tweaks to get it up and running right!!!

Enjoy!

About

A simple video player for MagicMirror in which you provide the videos. Including your own homemade videos. Now easier user configurations!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.7%
  • CSS 10.3%