How to call the Daidai player?

Time: 2017-08-03Source: Huajun InformationAuthor: Xiaoliu

1. How to call Daidai player--common calling method

Solution:

Currently only supports IE kernel browser calls

How to call the Daidai player? Daidai player calling method

2. Max program (MaxCMS) calling instructions

Solution:

Solemn reminder: When modifying website-related files, please back up the relevant files first.

1. Configuration

Find the file /inc/playerKinds.xml, add the next line of code to the file and save it

Need to download Daidai player]]>

2. Modify the template templatedefaulthtmlplay.html

Method 1: Find the template file and change {playpage:playurlinfo}{playpage:player} in the file

Change to: {playpage:playurlinfo} {playpage:player}

Method 2: For a partially modified MAX version, you can also add a line below the head part:

Note that dovd.js here is a js file exclusive to Daidai Player and must be loaded after play.js. If your site has changed the name of the play.js file, please find the correct file location.

After testing, method one is relatively safe.

3. Feifei (FFCMS) PHP film and television system calls the Daidai player method

Solution:

This method is applicable to FF2.9. If you have other versions, please modify it yourself.

1. Configuration

Find the LibConfConfig.php file in your website directory, open it and add the Daidai player. Add a line in the play_player array:

'dvod'=> array('01','Dvod Player'),

After setting it up, refresh the cache and you can see the options of the player when adding video resources in the background.

2. Place dvod.js and dvod.html in the directory Publicplayer2.9

Please save after modification. Note that the FFcms system is a utf-8 version. When saving, please save it in utf-8 encoding format to avoid errors.

4. Apple CMS calls the Dead Player method

Solution:

This method is applicable to Apple CMS7.x version, please modify it yourself for other versions.

Please make sure to back up the relevant files before replacing them.

1. Settings

Modify the file: incvodplay.xml and add the Daidai player.

Need to download Daidai player]]>

After adding it, you can select the Dedai player resource when adding videos in the background.

2. Modify the playback page template vodplay.html in the directory template...

Add the js file called by the Daidai player below.

Be sure to ensure that dvod.js is loaded after player.js.

3. Place dvod.js into the directory js.

Related articles更多>>