R
R
ragnar_ok2018-12-13 19:36:13
1C-Bitrix
ragnar_ok, 2018-12-13 19:36:13

1C-Bitrix: bitrix:player component. How to add a plugin?

Hey!
The video.js player is enabled by default in the bitrix:player component. How to connect the videojs-share plugin to it ? I see that video.js is initialized in . I try to connect the plugin in the video.js block in the component template, but without success.<head>

<?elseif($arResult["PLAYER_TYPE"] == "videojs"): // Attach video.js?>

Outputs:
TypeError: t.getPlugin is not a function

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question