|
1 | 1 | <?php |
2 | 2 | /** |
3 | | - * Transcoder plugin for Craft CMS 3.x |
| 3 | + * Transcoder plugin for Craft CMS |
4 | 4 | * |
5 | 5 | * Transcode videos to various formats, and provide thumbnails of the video |
6 | 6 | * |
|
10 | 10 |
|
11 | 11 | namespace nystudio107\transcoder; |
12 | 12 |
|
13 | | -use nystudio107\transcoder\assetbundles\transcoder\TranscoderAsset; |
14 | | -use nystudio107\transcoder\services\Transcode; |
15 | | -use nystudio107\transcoder\variables\TranscoderVariable; |
16 | | -use nystudio107\transcoder\models\Settings; |
17 | | - |
18 | | -use nystudio107\pluginvite\services\VitePluginService; |
19 | | - |
20 | 13 | use Craft; |
21 | 14 | use craft\base\Plugin; |
22 | 15 | use craft\console\Application as ConsoleApplication; |
23 | 16 | use craft\elements\Asset; |
24 | 17 | use craft\events\AssetThumbEvent; |
25 | 18 | use craft\events\PluginEvent; |
26 | | -use craft\events\RegisterUrlRulesEvent; |
27 | 19 | use craft\events\RegisterCacheOptionsEvent; |
| 20 | +use craft\events\RegisterUrlRulesEvent; |
28 | 21 | use craft\helpers\Assets as AssetsHelper; |
29 | 22 | use craft\helpers\FileHelper; |
30 | 23 | use craft\helpers\UrlHelper; |
|
33 | 26 | use craft\utilities\ClearCaches; |
34 | 27 | use craft\web\twig\variables\CraftVariable; |
35 | 28 | use craft\web\UrlManager; |
36 | | - |
| 29 | +use nystudio107\pluginvite\services\VitePluginService; |
| 30 | +use nystudio107\transcoder\assetbundles\transcoder\TranscoderAsset; |
| 31 | +use nystudio107\transcoder\models\Settings; |
| 32 | +use nystudio107\transcoder\services\Transcode; |
| 33 | +use nystudio107\transcoder\variables\TranscoderVariable; |
37 | 34 | use yii\base\ErrorException; |
38 | 35 | use yii\base\Event; |
39 | 36 |
|
|
44 | 41 | * @package Transcode |
45 | 42 | * @since 1.0.0 |
46 | 43 | * |
47 | | - * @property Transcode $transcode |
48 | | - * @property Settings $settings |
49 | | - * @property VitePluginService $vite |
| 44 | + * @property Transcode $transcode |
| 45 | + * @property Settings $settings |
| 46 | + * @property VitePluginService $vite |
50 | 47 | * @method Settings getSettings() |
51 | 48 | */ |
52 | 49 | class Transcoder extends Plugin |
|
0 commit comments