Custom Video Players

infinityssm
infinityssm
@makande
7 years ago
53 posts
Hi,

I'm looking to customize my jamroom video players so I can add advertising functionality and branding. Can this be done with the current video player options?

Also, is it possible to integrate third party players like videojs or jwplayer into Jamroom?

Thanks
Michael
updated by @makande: 06/01/17 10:54:24PM
michael
@michael
7 years ago
7,746 posts
There is the 'Playlist Ads' module that allows you to inject adverts into audio playlists.
https://www.jamroom.net/the-jamroom-network/networkmarket/64/playlist-ads

The limitation with Playlists is the player, not the Playlist module. It could be customized to build a list of videos, then insert adverts into them.

Or you could customize the video player.

Each skin has an include.php file in it. In that it specifies the player to use, eg in the jrSoloPro skin's _init() function
    // default players
    jrCore_register_module_feature('jrCore', 'media_player_skin', 'jrSoloPro', 'jrVideo', 'jrSoloPro_video_player');

That will then use the
/skins/jrSoloPro/jrSoloPro_video_player.tpl

for the videos. You can do the same and setup whatever player you like with it. We currently use the jplayer because its license ( MIT ) is compatible with our license ( MPL ).

On your site you don't need to worry about licenses because you're not distributing it so you can use whatever you like.
infinityssm
infinityssm
@makande
7 years ago
53 posts
Thank you Michael,

This was very helpful. I'm looking thru the dev documents of jplayer and its not clear how i can add a logo to the players. Any thoughts?

Thanks
Michael
updated by @makande: 03/02/17 07:50:47PM
michael
@michael
7 years ago
7,746 posts
The jplayer is totally CSS, you can add anything you like to it. Just have a fiddle with it with Firebug and you can tweak it any way you like.
edit_the_player.jpg
edit_the_player.jpg  •  90KB

infinityssm
infinityssm
@makande
7 years ago
53 posts
Thank you