JW Player Module for SDL DXA .NET

JW Player Module for SDL DXA  powers you to use world's most popular video player's in your DXA MVC application  without investing much in the development.  This module covers basic/mostly used features of JW player including Skin and responsiveness.

It leverages cloud hosted JW Player.

Installation 

In Content Manager

Run a PowerShell script to install the Jwplayer module in the Content Manager.

  1. Access the module installation media.
  2. Open a PowerShell command prompt in the administrator mode.
  3. Go to the `modules\JWPlayer` folder and run the following command:

    .\cms-import.ps1 -importType <IMPORTTYPE> -cmsUrl "http://cms.example.com:81/"

where:

  •  -importType module-and-permissions  Installs the module and sets rights and permissions for the default User Groups in the Content Manager (default setting).
  • -importType module-only  Only installs the module.
  • -importType permissions-only  Only sets rights and permissions for the default User Groups in the imported Content Manager.
  • -cmsUrl  Web address of the Content Manager Explorer.

In Web application

  1. Access the module installation media.
  2. Open a PowerShell command prompt in the administrator mode.
  3. Go to the `modules\JWPlayer folder and run the following command:

    & '.\web-install.ps1' -distDestination "c:\inetpub\wwwroot\site"

where:

  •  -distDestination  The location of your site directory.

Usage:

When you install the module it gets added to "000 Home" page in "3-Column" region, home page is added with \400 Example Site\Building Blocks\Modules Content\JWPlayer\video component of JWPlayer schema with Component Template.

RePublish the Home Page & Publish Settings  from '400 Example site\Home' and '400 Example Site\Home\_System' respectively. 

Use your JW player Key  in JWplayer setting Component to remove Jw player logo while playing.

Disclaimer:

This module is tested with only DXA 1.2.  Video used as sample might be taken offline after few days, Please replace another video URL as per requirement. it does not use all available features of JW Player, as player has long list of features.

Developer:    Raj KumarLicense agreement:    Apache License, Version 2.0
Version:    1.0
Source repository:    Coming soon

2307 views 770 downloads