teltek/pumukit-paella-player-bundle

Paella播放器套件

安装数量: 13,318

依赖关系: 5

建议者: 0

安全: 0

星级: 1

关注者: 7

分支: 4

开放问题: 3

语言:JavaScript

类型:symfony-bundle


README

基于Symfony构建的套件,用于与PuMuKIT视频平台协同工作。

此套件覆盖了Pumukit Player Bundle。它为WebTV门户添加了Paella播放器,以替代默认的Player Bundle

composer require teltek/pumukit-paella-player-bundle

为了使Paella播放器正常工作,需要卸载基础播放器

从config/bundles.php中删除以下行

Pumukit\PlayerBundle\PumukitPlayerBundle::class => ['all' => true],

从config/routes/annotations.yaml中删除以下行

pumukit_player:
  resource: "@PumukitPlayerBundle/Resources/config/routing.yml"
  prefix:   /

删除文件config/packages/pumukit_player.yaml

在config/bundles.php中添加PaellaPlayer行

Pumukit\PaellaPlayerBundle\PumukitPaellaPlayerBundle::class => ['all' => true],

在config/routes/annotations.yaml中添加PaellaPlayer行

pumukit_player:
  resource: "@PumukitPaellaPlayerBundle/Resources/config/routing.yml"
  prefix:   /

然后执行以下命令

$ php app/console cache:clear
$ php app/console cache:clear --env=prod
$ php app/console assets:install